Changes in uspace/srv/vfs/vfs.c [01c3bb4:b7fd2a0] in mainline


Ignore:
File:
1 edited

Legend:

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

    r01c3bb4 rb7fd2a0  
    4444#include <async.h>
    4545#include <errno.h>
     46#include <str_error.h>
    4647#include <stdio.h>
    4748#include <stdbool.h>
     
    8788int main(int argc, char **argv)
    8889{
    89         int rc;
     90        errno_t rc;
    9091
    9192        printf("%s: HelenOS VFS server\n", NAME);
     
    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.