Changeset c1694b6b in mainline for uspace/srv/vfs/vfs.c


Ignore:
Timestamp:
2017-12-08T21:03:35Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f77c1c9
Parents:
9eb1ff5
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-07 18:20:13)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
Message:

Add str_error() in numerous places.

File:
1 edited

Legend:

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

    r9eb1ff5 rc1694b6b  
    4444#include <async.h>
    4545#include <errno.h>
     46#include <str_error.h>
    4647#include <stdio.h>
    4748#include <stdbool.h>
     
    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.