Changeset ce1df04 in mainline


Ignore:
Timestamp:
2012-09-17T14:41:32Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7137fe3f, 8595b954
Parents:
9ab2714
Message:

Print also the actual error message when offline fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/devctl/devctl.c

    r9ab2714 rce1df04  
    151151        rc = devman_fun_offline(funh);
    152152        if (rc != EOK) {
    153                 printf(NAME ": Failed to offline function '%s'.\n", path);
     153                printf(NAME ": Failed to offline function '%s' (%s)\n", path,
     154                    str_error(rc));
    154155                return rc;
    155156        }
Note: See TracChangeset for help on using the changeset viewer.