Changes in uspace/app/bdsh/exec.c [19f857a:2721a75] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/exec.c
r19f857a r2721a75 40 40 #include <str.h> 41 41 #include <fcntl.h> 42 #include <str_error.h> 42 43 43 44 #include "config.h" … … 124 125 125 126 if (tid == 0) { 126 cli_error(CL_EEXEC, " Cannot spawn `%s'.", cmd);127 cli_error(CL_EEXEC, "%s: Cannot spawn `%s'", progname, cmd); 127 128 return 1; 128 129 } … … 130 131 task_wait(tid, &texit, &retval); 131 132 if (texit != TASK_EXIT_NORMAL) { 132 printf(" Command failed (unexpectedly terminated).\n");133 printf("%s: Command failed (unexpectedly terminated)\n", progname); 133 134 } else if (retval != 0) { 134 printf("Command failed (return value %d).\n", retval); 135 printf("%s: Command failed (%s)\n", 136 progname, str_error(retval)); 135 137 } 136 138
Note:
See TracChangeset
for help on using the changeset viewer.