Changeset 58e4d85 in mainline for kernel/generic/src/proc/thread.c


Ignore:
Timestamp:
2018-01-04T20:50:53Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
08d4ea2
Parents:
3b47db6
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:53)
Message:

Change (rc != 0) to (rc != EOK).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/thread.c

    r3b47db6 r58e4d85  
    938938        char namebuf[THREAD_NAME_BUFLEN];
    939939        errno_t rc = copy_from_uspace(namebuf, uspace_name, name_len);
    940         if (rc != 0)
     940        if (rc != EOK)
    941941                return (sys_errno_t) rc;
    942942       
     
    951951       
    952952        rc = copy_from_uspace(kernel_uarg, uspace_uarg, sizeof(uspace_arg_t));
    953         if (rc != 0) {
     953        if (rc != EOK) {
    954954                free(kernel_uarg);
    955955                return (sys_errno_t) rc;
     
    962962                        rc = copy_to_uspace(uspace_thread_id, &thread->tid,
    963963                            sizeof(thread->tid));
    964                         if (rc != 0) {
     964                        if (rc != EOK) {
    965965                                /*
    966966                                 * We have encountered a failure, but the thread
Note: See TracChangeset for help on using the changeset viewer.