Changeset b800b0e in mainline for uspace/srv/fs/udf/udf.c


Ignore:
Timestamp:
2012-10-23T13:16:49Z (12 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ecf5b8
Parents:
32b3a12 (diff), b2ac3998 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

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

    r32b3a12 rb800b0e  
    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                }
     
    7676            service_connect_blocking(EXCHANGE_SERIALIZE, SERVICE_VFS, 0, 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.