Index: uspace/app/copy/copy.c
===================================================================
--- uspace/app/copy/copy.c	(revision 79b77ce198ae82ef6cfa63bc7177b73d5108b6d8)
+++ uspace/app/copy/copy.c	(revision 81805e06a9f080e240dbc7463874411778910389)
@@ -133,5 +133,5 @@
 	cons_event_t event;
 	kbd_event_t *ev;
-	const char *opstr = NULL;
+	const char *fmt = NULL;
 	errno_t rc;
 
@@ -146,19 +146,18 @@
 	switch (err->optype) {
 	case fmgt_io_read:
-		opstr = "reading";
+		fmt = "Error reading file %s. (%s)\n";
 		break;
 	case fmgt_io_write:
-		opstr = "writing";
+		fmt = "Error writing file %s. (%s)\n";
 		break;
 	case fmgt_io_create:
-		opstr = "creating";
+		fmt = "Error creating %s. (%s)\n";
 		break;
 	case fmgt_io_open:
-		opstr = "opening";
-		break;
-	}
-
-	fprintf(stderr, "I/O error %s file '%s' (%s).\n", opstr, err->fname,
-	    str_error(err->rc));
+		fmt = "Error opening %s. (%s)\n";
+		break;
+	}
+
+	fprintf(stderr, fmt, err->fname, str_error(err->rc));
 	fprintf(stderr, "[A]bort or [R]etry?\n");
 
Index: uspace/app/nav/nav.c
===================================================================
--- uspace/app/nav/nav.c	(revision 79b77ce198ae82ef6cfa63bc7177b73d5108b6d8)
+++ uspace/app/nav/nav.c	(revision 81805e06a9f080e240dbc7463874411778910389)
@@ -749,11 +749,25 @@
 	fmgt_error_action_t err_act;
 	char *text1;
+	const char *fmt = NULL;
 	errno_t rc;
 	int rv;
 
+	switch (err->optype) {
+	case fmgt_io_write:
+		fmt = "Error reading file %s.";
+		break;
+	case fmgt_io_read:
+		fmt = "Error writing file %s.";
+		break;
+	case fmgt_io_open:
+		fmt = "Error opening %s.";
+		break;
+	case fmgt_io_create:
+		fmt = "Error creating %s.";
+		break;
+	}
+
 	io_err_dlg_params_init(&params);
-	rv = asprintf(&text1, err->optype == fmgt_io_write ?
-	    "Error writing file %s." : "Error reading file %s.",
-	    err->fname);
+	rv = asprintf(&text1, fmt, err->fname);
 	if (rv < 0)
 		return fmgt_er_abort;
