Changeset 5a6cc679 in mainline for uspace/app/getterm/getterm.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/getterm/getterm.c

    r132ab5d1 r5a6cc679  
    6666       
    6767        int oldfd;
    68         int rc = vfs_lookup_open(path, WALK_REGULAR, mode, &oldfd);
     68        errno_t rc = vfs_lookup_open(path, WALK_REGULAR, mode, &oldfd);
    6969        if (rc != EOK)
    7070                return;
     
    133133                /* Wait for the terminal service to be ready */
    134134                service_id_t service_id;
    135                 int rc = loc_service_get_id(term, &service_id, IPC_FLAG_BLOCKING);
     135                errno_t rc = loc_service_get_id(term, &service_id, IPC_FLAG_BLOCKING);
    136136                if (rc != EOK) {
    137137                        printf("%s: Error waiting on %s (%s)\n", APP_NAME, term,
     
    170170        task_wait_t twait;
    171171       
    172         int rc = task_spawnv(&id, &twait, cmd, (const char * const *) args);
     172        errno_t rc = task_spawnv(&id, &twait, cmd, (const char * const *) args);
    173173        if (rc != EOK) {
    174174                printf("%s: Error spawning %s (%s)\n", APP_NAME, cmd,
Note: See TracChangeset for help on using the changeset viewer.