Changes in uspace/app/bdsh/exec.c [2721a75:19f857a] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/bdsh/exec.c

    r2721a75 r19f857a  
    4040#include <str.h>
    4141#include <fcntl.h>
    42 #include <str_error.h>
    4342
    4443#include "config.h"
     
    125124
    126125        if (tid == 0) {
    127                 cli_error(CL_EEXEC, "%s: Cannot spawn `%s'", progname, cmd);
     126                cli_error(CL_EEXEC, "Cannot spawn `%s'.", cmd);
    128127                return 1;
    129128        }
     
    131130        task_wait(tid, &texit, &retval);
    132131        if (texit != TASK_EXIT_NORMAL) {
    133                 printf("%s: Command failed (unexpectedly terminated)\n", progname);
     132                printf("Command failed (unexpectedly terminated).\n");
    134133        } 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);
    137135        }
    138136
Note: See TracChangeset for help on using the changeset viewer.