Changes in uspace/srv/vfs/vfs.c [0d35511:c1694b6b] in mainline


Ignore:
File:
1 edited

Legend:

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

    r0d35511 rc1694b6b  
    4444#include <async.h>
    4545#include <errno.h>
     46#include <str_error.h>
    4647#include <stdio.h>
    4748#include <stdbool.h>
     
    7677}
    7778
    78 static void notification_handler(ipc_callid_t callid, ipc_call_t *call, void *arg)
     79static void notification_handler(ipc_call_t *call, void *arg)
    7980{
    8081        if (IPC_GET_ARG1(*call) == VFS_PASS_HANDLE)
     
    122123        port_id_t port;
    123124        rc = async_create_port(INTERFACE_PAGER, vfs_pager, NULL, &port);
    124         if (rc != EOK)
     125        if (rc != EOK) {
     126                printf("%s: Cannot create pager port: %s\n", NAME, str_error(rc));
    125127                return rc;
    126                
     128        }
     129
    127130        /*
    128131         * Set a connection handling function/fibril.
     
    141144        rc = service_register(SERVICE_VFS);
    142145        if (rc != EOK) {
    143                 printf("%s: Cannot register VFS service\n", NAME);
     146                printf("%s: Cannot register VFS service: %s\n", NAME, str_error(rc));
    144147                return rc;
    145148        }
Note: See TracChangeset for help on using the changeset viewer.