Changes in uspace/srv/fs/udf/udf.c [48e3190:f9b2cb4c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/udf/udf.c
r48e3190 rf9b2cb4c 61 61 int main(int argc, char *argv[]) 62 62 { 63 log_init(NAME , LVL_NOTE);64 log_msg(L VL_NOTE, "HelenOS UDF 1.02 file system server");63 log_init(NAME); 64 log_msg(LOG_DEFAULT, LVL_NOTE, "HelenOS UDF 1.02 file system server"); 65 65 66 66 if (argc == 3) { … … 68 68 udf_vfs_info.instance = strtol(argv[2], NULL, 10); 69 69 else { 70 log_msg(L VL_FATAL, "Unrecognized parameters");70 log_msg(LOG_DEFAULT, LVL_FATAL, "Unrecognized parameters"); 71 71 return 1; 72 72 } … … 74 74 75 75 async_sess_t *vfs_sess = 76 service_connect_blocking( EXCHANGE_SERIALIZE, SERVICE_VFS, 0, 0);76 service_connect_blocking(SERVICE_VFS, INTERFACE_VFS_DRIVER, 0); 77 77 if (!vfs_sess) { 78 log_msg(L VL_FATAL, "Failed to connect to VFS");78 log_msg(LOG_DEFAULT, LVL_FATAL, "Failed to connect to VFS"); 79 79 return 2; 80 80 } … … 89 89 goto err; 90 90 91 log_msg(L VL_NOTE, "Accepting connections");91 log_msg(LOG_DEFAULT, LVL_NOTE, "Accepting connections"); 92 92 task_retval(0); 93 93 async_manager(); … … 97 97 98 98 err: 99 log_msg(L VL_FATAL, "Failed to register file system (%d)", rc);99 log_msg(LOG_DEFAULT, LVL_FATAL, "Failed to register file system (%d)", rc); 100 100 return rc; 101 101 }
Note:
See TracChangeset
for help on using the changeset viewer.