Index: uspace/app/bdsh/cmds/modules/mkfile/mkfile.c
===================================================================
--- uspace/app/bdsh/cmds/modules/mkfile/mkfile.c	(revision 8e3498b351ae109f7ad16592a1f108e3bd44c829)
+++ uspace/app/bdsh/cmds/modules/mkfile/mkfile.c	(revision 2591a10ee3228dd6b71d84ece62984136397d48e)
@@ -31,4 +31,5 @@
 #include <stdlib.h>
 #include <stdint.h>
+#include <str_error.h>
 #include <dirent.h>
 #include <macros.h>
@@ -191,5 +192,5 @@
 		rc = vfs_write(fd, &pos, buffer, to_write, &nwritten);
 		if (rc != EOK) {
-			printf("%s: Error writing file (%d).\n", cmdname, errno);
+			printf("%s: Error writing file (%s).\n", cmdname, str_error(errno));
 			vfs_put(fd);
 			free(buffer);
@@ -206,5 +207,5 @@
 	return CMD_SUCCESS;
 error:
-	printf("%s: Error writing file (%d).\n", cmdname, errno);
+	printf("%s: Error writing file (%s).\n", cmdname, str_error(errno));
 	return CMD_FAILURE;
 }
