Changeset 8e9b2534 in mainline for uspace/srv/logger/ctl.c
- Timestamp:
- 2017-03-26T10:28:44Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f644472
- Parents:
- 58898d1d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/logger/ctl.c
r58898d1d r8e9b2534 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.