Changeset 09d01f2 in mainline for kernel/generic/src/ipc/kbox.c
- Timestamp:
- 2017-12-18T17:40:52Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2024096, 23d45152
- Parents:
- 6a32cc5f
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-18 15:39:01)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-18 17:40:52)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/kbox.c
r6a32cc5f r09d01f2 252 252 253 253 /* Allocate a new phone. */ 254 cap_handle_t phone_handle = phone_alloc(TASK); 255 if (phone_handle < 0) { 254 cap_handle_t phone_handle; 255 int rc = phone_alloc(TASK, &phone_handle); 256 if (rc != EOK) { 256 257 mutex_unlock(&task->kb.cleanup_lock); 257 return phone_handle;258 return rc; 258 259 } 259 260
Note:
See TracChangeset
for help on using the changeset viewer.