Index: uspace/app/bdsh/exec.c
===================================================================
--- uspace/app/bdsh/exec.c	(revision 0a72efcb56c11bc14200cc2b33ba2af13610c8c7)
+++ uspace/app/bdsh/exec.c	(revision a397f1d9b98bef578f2adb4e9fea671cfce6affe)
@@ -40,4 +40,5 @@
 #include <str.h>
 #include <fcntl.h>
+#include <strerror.h>
 
 #include "config.h"
@@ -124,5 +125,5 @@
 
 	if (tid == 0) {
-		cli_error(CL_EEXEC, "Cannot spawn `%s'.", cmd);
+		cli_error(CL_EEXEC, "%s: Cannot spawn `%s'", progname, cmd);
 		return 1;
 	}
@@ -130,7 +131,8 @@
 	task_wait(tid, &texit, &retval);
 	if (texit != TASK_EXIT_NORMAL) {
-		printf("Command failed (unexpectedly terminated).\n");
+		printf("%s: Command failed (unexpectedly terminated)\n", progname);
 	} else if (retval != 0) {
-		printf("Command failed (return value %d).\n", retval);
+		printf("%s: Command failed (%s)\n",
+		    progname, str_error(retval));
 	}
 
Index: uspace/app/bdsh/scli.h
===================================================================
--- uspace/app/bdsh/scli.h	(revision 0a72efcb56c11bc14200cc2b33ba2af13610c8c7)
+++ uspace/app/bdsh/scli.h	(revision a397f1d9b98bef578f2adb4e9fea671cfce6affe)
@@ -13,3 +13,5 @@
 } cliuser_t;
 
+extern const char *progname;
+
 #endif
