Changeset 368ee04 in mainline for uspace/srv/logger/ctl.c
- Timestamp:
- 2017-04-05T18:10:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 93ad8166
- Parents:
- 39f892a9 (diff), 2166728 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/logger/ctl.c
r39f892a9 r368ee04 41 41 #include <io/logctl.h> 42 42 #include <ipc/logger.h> 43 #include <vfs/vfs.h> 43 44 #include "logger.h" 44 45 … … 86 87 break; 87 88 } 89 case LOGGER_CONTROL_SET_ROOT: { 90 int fd = vfs_receive_handle(true); 91 vfs_root_set(fd); 92 async_answer_0(callid, fd >= 0 ? EOK : fd); 93 break; 94 } 88 95 default: 89 96 async_answer_0(callid, EINVAL);
Note:
See TracChangeset
for help on using the changeset viewer.