Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/volsrv/volsrv.c

    r9c2c7d2 rc1694b6b  
    3636#include <async.h>
    3737#include <errno.h>
     38#include <str_error.h>
    3839#include <io/log.h>
    3940#include <ipc/services.h>
     
    7071        rc = loc_server_register(NAME);
    7172        if (rc != EOK) {
    72                 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering server (%d).", rc);
     73                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering server: %s.", str_error(rc));
    7374                return EEXIST;
    7475        }
     
    7778        rc = loc_service_register(SERVICE_NAME_VOLSRV, &sid);
    7879        if (rc != EOK) {
    79                 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering service (%d).", rc);
     80                log_msg(LOG_DEFAULT, LVL_ERROR, "Failed registering service: %s.", str_error(rc));
    8081                return EEXIST;
    8182        }
Note: See TracChangeset for help on using the changeset viewer.