Changeset c1694b6b in mainline for uspace/app/devctl/devctl.c
- Timestamp:
- 2017-12-08T21:03:35Z (7 years ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/devctl/devctl.c
r9eb1ff5 rc1694b6b 324 324 rc = devman_driver_get_handle(drvname, &drvh); 325 325 if (rc != EOK) { 326 printf("Failed resolving driver '%s' (%d).\n", drvname, rc);326 printf("Failed resolving driver '%s': %s.\n", drvname, str_error(rc)); 327 327 return rc; 328 328 } … … 330 330 rc = devman_driver_load(drvh); 331 331 if (rc != EOK) { 332 printf("Failed loading driver '%s' (%d).\n", drvname, rc);332 printf("Failed loading driver '%s': %s.\n", drvname, str_error(rc)); 333 333 return rc; 334 334 } … … 344 344 rc = devman_driver_get_handle(drvname, &drvh); 345 345 if (rc != EOK) { 346 printf("Failed resolving driver '%s' (%d).\n", drvname, rc);346 printf("Failed resolving driver '%s': %s.\n", drvname, str_error(rc)); 347 347 return rc; 348 348 } … … 350 350 rc = devman_driver_unload(drvh); 351 351 if (rc != EOK) { 352 printf("Failed unloading driver '%s' (%d).\n", drvname, rc);352 printf("Failed unloading driver '%s': %s.\n", drvname, str_error(rc)); 353 353 return rc; 354 354 }
Note:
See TracChangeset
for help on using the changeset viewer.