Changeset 5a6cc679 in mainline for uspace/app/bdsh/exec.c


Ignore:
Timestamp:
2018-01-31T02:21:24Z (8 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

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

    r132ab5d1 r5a6cc679  
    5858        int fd;
    5959
    60         int rc = vfs_lookup_open(f, WALK_REGULAR, MODE_READ, &fd);
     60        errno_t rc = vfs_lookup_open(f, WALK_REGULAR, MODE_READ, &fd);
    6161        if (rc == EOK) {
    6262                vfs_put(fd);
     
    9898        task_exit_t texit;
    9999        char *tmp;
    100         int rc;
     100        errno_t rc;
    101101        int retval, i;
    102102        int file_handles[3] = { -1, -1, -1 };
     
    118118        free(tmp);
    119119
    120         if (rc != 0) {
     120        if (rc != EOK) {
    121121                cli_error(CL_EEXEC, "%s: Cannot spawn `%s' (%s)", progname, cmd,
    122122                    str_error(rc));
Note: See TracChangeset for help on using the changeset viewer.