Changeset 84a1a54 in mainline for uspace/srv/bd/file_bd/file_bd.c
- Timestamp:
- 2018-01-04T20:47:53Z (7 years ago)
- Children:
- facacc71
- Parents:
- cde999a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/file_bd/file_bd.c
rcde999a r84a1a54 47 47 #include <stddef.h> 48 48 #include <stdint.h> 49 #include <stdlib.h> 49 50 #include <errno.h> 50 51 #include <str_error.h> … … 137 138 printf("%s: Unable to register device '%s': %s.\n", 138 139 NAME, device_name, str_error(rc)); 139 return rc;140 return EXIT_RC(rc); 140 141 } 141 142 … … 143 144 if (rc != EOK) { 144 145 printf("%s: Failed resolving category 'disk': %s\n", NAME, str_error(rc)); 145 return rc;146 return EXIT_RC(rc); 146 147 } 147 148 … … 150 151 printf("%s: Failed adding %s to category: %s", 151 152 NAME, device_name, str_error(rc)); 152 return rc;153 return EXIT_RC(rc); 153 154 } 154 155
Note:
See TracChangeset
for help on using the changeset viewer.