Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/fs/udf/udf.c

    r48e3190 rf9b2cb4c  
    6161int main(int argc, char *argv[])
    6262{
    63         log_init(NAME, LVL_NOTE);
    64         log_msg(LVL_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");
    6565       
    6666        if (argc == 3) {
     
    6868                        udf_vfs_info.instance = strtol(argv[2], NULL, 10);
    6969                else {
    70                         log_msg(LVL_FATAL, "Unrecognized parameters");
     70                        log_msg(LOG_DEFAULT, LVL_FATAL, "Unrecognized parameters");
    7171                        return 1;
    7272                }
     
    7474       
    7575        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);
    7777        if (!vfs_sess) {
    78                 log_msg(LVL_FATAL, "Failed to connect to VFS");
     78                log_msg(LOG_DEFAULT, LVL_FATAL, "Failed to connect to VFS");
    7979                return 2;
    8080        }
     
    8989                goto err;
    9090       
    91         log_msg(LVL_NOTE, "Accepting connections");
     91        log_msg(LOG_DEFAULT, LVL_NOTE, "Accepting connections");
    9292        task_retval(0);
    9393        async_manager();
     
    9797       
    9898err:
    99         log_msg(LVL_FATAL, "Failed to register file system (%d)", rc);
     99        log_msg(LOG_DEFAULT, LVL_FATAL, "Failed to register file system (%d)", rc);
    100100        return rc;
    101101}
Note: See TracChangeset for help on using the changeset viewer.