Changeset a53ed3a in mainline for kernel/generic/src/proc/thread.c
- Timestamp:
- 2018-01-13T03:15:30Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 36df27eb, 50f19b7
- Parents:
- b7fd2a0
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-13 03:15:24)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-13 03:15:30)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/proc/thread.c
rb7fd2a0 ra53ed3a 938 938 char namebuf[THREAD_NAME_BUFLEN]; 939 939 errno_t rc = copy_from_uspace(namebuf, uspace_name, name_len); 940 if (rc != 0)940 if (rc != EOK) 941 941 return (sys_errno_t) rc; 942 942 … … 951 951 952 952 rc = copy_from_uspace(kernel_uarg, uspace_uarg, sizeof(uspace_arg_t)); 953 if (rc != 0) {953 if (rc != EOK) { 954 954 free(kernel_uarg); 955 955 return (sys_errno_t) rc; … … 962 962 rc = copy_to_uspace(uspace_thread_id, &thread->tid, 963 963 sizeof(thread->tid)); 964 if (rc != 0) {964 if (rc != EOK) { 965 965 /* 966 966 * We have encountered a failure, but the thread
Note:
See TracChangeset
for help on using the changeset viewer.