Changes in uspace/srv/bd/file_bd/file_bd.c [c1694b6b:7354b5e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/file_bd/file_bd.c
rc1694b6b r7354b5e 48 48 #include <stdint.h> 49 49 #include <errno.h> 50 #include <str_error.h>51 50 #include <stdbool.h> 52 51 #include <task.h> … … 135 134 rc = loc_service_register(device_name, &service_id); 136 135 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); 139 138 return rc; 140 139 } … … 142 141 rc = loc_category_get_id("disk", &disk_cat, IPC_FLAG_BLOCKING); 143 142 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); 145 144 return rc; 146 145 } … … 148 147 rc = loc_service_add_to_cat(service_id, disk_cat); 149 148 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); 152 151 return rc; 153 152 }
Note:
See TracChangeset
for help on using the changeset viewer.