Changes in uspace/srv/vfs/vfs.c [b75e929:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/vfs/vfs.c
rb75e929 rffa2c8ef 36 36 */ 37 37 38 #include <ipc/ipc.h>39 38 #include <ipc/services.h> 39 #include <ipc/ns.h> 40 40 #include <async.h> 41 41 #include <errno.h> … … 47 47 #include "vfs.h" 48 48 49 #define NAME "vfs"49 #define NAME "vfs" 50 50 51 51 static void vfs_connection(ipc_callid_t iid, ipc_call_t *icall) … … 57 57 * This call needs to be answered. 58 58 */ 59 ipc_answer_0(iid, EOK);59 async_answer_0(iid, EOK); 60 60 61 61 while (keep_on_going) { … … 119 119 vfs_dup(callid, &call); 120 120 default: 121 ipc_answer_0(callid, ENOTSUP);121 async_answer_0(callid, ENOTSUP); 122 122 break; 123 123 } … … 172 172 * Register at the naming service. 173 173 */ 174 ipc_connect_to_me(PHONE_NS, SERVICE_VFS, 0, 0, NULL, NULL); 174 if (service_register(SERVICE_VFS) != EOK) { 175 printf("%s: Cannot register VFS service\n", NAME); 176 return EINVAL; 177 } 175 178 176 179 /*
Note:
See TracChangeset
for help on using the changeset viewer.