Changes in uspace/srv/logger/ctl.c [f77c1c9:582a0b8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/logger/ctl.c
rf77c1c9 r582a0b8 35 35 */ 36 36 37 #include <malloc.h> 37 38 #include <stdio.h> 38 #include <stdlib.h>39 39 #include <errno.h> 40 40 #include <io/logctl.h> … … 87 87 } 88 88 case LOGGER_CONTROL_SET_ROOT: { 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); 89 int fd = vfs_receive_handle(true); 90 vfs_root_set(fd); 91 async_answer_0(callid, fd >= 0 ? EOK : fd); 96 92 break; 97 93 }
Note:
See TracChangeset
for help on using the changeset viewer.