Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/bd/file_bd/file_bd.c

    rc1694b6b r7354b5e  
    4848#include <stdint.h>
    4949#include <errno.h>
    50 #include <str_error.h>
    5150#include <stdbool.h>
    5251#include <task.h>
     
    135134        rc = loc_service_register(device_name, &service_id);
    136135        if (rc != EOK) {
    137                 printf("%s: Unable to register device '%s': %s.\n",
    138                     NAME, device_name, str_error(rc));
     136                printf("%s: Unable to register device '%s'.\n",
     137                    NAME, device_name);
    139138                return rc;
    140139        }
     
    142141        rc = loc_category_get_id("disk", &disk_cat, IPC_FLAG_BLOCKING);
    143142        if (rc != EOK) {
    144                 printf("%s: Failed resolving category 'disk': %s\n", NAME, str_error(rc));
     143                printf("%s: Failed resolving category 'disk'.\n", NAME);
    145144                return rc;
    146145        }
     
    148147        rc = loc_service_add_to_cat(service_id, disk_cat);
    149148        if (rc != EOK) {
    150                 printf("%s: Failed adding %s to category: %s",
    151                     NAME, device_name, str_error(rc));
     149                printf("%s: Failed adding %s to category.",
     150                    NAME, device_name);
    152151                return rc;
    153152        }
Note: See TracChangeset for help on using the changeset viewer.