Changeset 3b47db6 in mainline for uspace/srv/bd
- Timestamp:
- 2018-01-04T20:50:53Z (8 years ago)
- Children:
- 58e4d85
- Parents:
- c81d4f1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:47:53)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:50:53)
- Location:
- uspace/srv/bd
- Files:
-
- 2 edited
-
file_bd/file_bd.c (modified) (3 diffs)
-
sata_bd/sata_bd.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/file_bd/file_bd.c
rc81d4f1 r3b47db6 138 138 printf("%s: Unable to register device '%s': %s.\n", 139 139 NAME, device_name, str_error(rc)); 140 return EXIT_RC(rc);140 return rc; 141 141 } 142 142 … … 144 144 if (rc != EOK) { 145 145 printf("%s: Failed resolving category 'disk': %s\n", NAME, str_error(rc)); 146 return EXIT_RC(rc);146 return rc; 147 147 } 148 148 … … 151 151 printf("%s: Failed adding %s to category: %s", 152 152 NAME, device_name, str_error(rc)); 153 return EXIT_RC(rc);153 return rc; 154 154 } 155 155 -
uspace/srv/bd/sata_bd/sata_bd.c
rc81d4f1 r3b47db6 253 253 if (rc != EOK) { 254 254 printf(NAME ": Unable to register driver: %s.\n", str_error(rc)); 255 return EXIT_RC(rc);255 return rc; 256 256 } 257 257 … … 259 259 if (rc != EOK) { 260 260 printf(NAME ": Cannot find SATA disks: %s.\n", str_error(rc)); 261 return EXIT_RC(rc);261 return rc; 262 262 } 263 263 … … 265 265 if (rc != EOK) { 266 266 printf("%s: Failed resolving category 'disk': %s.\n", NAME, str_error(rc)); 267 return EXIT_RC(rc);267 return rc; 268 268 } 269 269 … … 274 274 if (rc != EOK) { 275 275 printf(NAME ": Unable to register device %s: %s\n", name, str_error(rc)); 276 return EXIT_RC(rc);276 return rc; 277 277 } 278 278 … … 281 281 printf("%s: Failed adding %s to category: %s.", 282 282 NAME, disk[i].dev_name, str_error(rc)); 283 return EXIT_RC(rc);283 return rc; 284 284 } 285 285 }
Note:
See TracChangeset
for help on using the changeset viewer.
