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