Changeset f77c1c9 in mainline for uspace/srv/logger/ctl.c
- Timestamp:
- 2017-12-08T21:03:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c19a5a59
- Parents:
- c1694b6b
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-07 19:44:55)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/logger/ctl.c
rc1694b6b rf77c1c9 87 87 } 88 88 case LOGGER_CONTROL_SET_ROOT: { 89 int fd = vfs_receive_handle(true); 90 vfs_root_set(fd); 91 async_answer_0(callid, fd >= 0 ? EOK : fd); 89 int fd; 90 int rc = vfs_receive_handle(true, &fd); 91 if (rc == EOK) { 92 rc = vfs_root_set(fd); 93 vfs_put(fd); 94 } 95 async_answer_0(callid, rc); 92 96 break; 93 97 }
Note:
See TracChangeset
for help on using the changeset viewer.