Changeset 9af1c61 in mainline for uspace/srv/devman/match.c


Ignore:
Timestamp:
2017-12-05T14:52:22Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
addbce4
Parents:
82d515e9
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-05 14:50:38)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-05 14:52:22)
Message:

Print errno values as string, rather than just numbers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/match.c

    r82d515e9 r9af1c61  
    232232        int rc = vfs_read(fd, (aoff64_t []) {0}, buf, len, &read_bytes);
    233233        if (rc != EOK) {
    234                 log_msg(LOG_DEFAULT, LVL_ERROR, "Unable to read file '%s' (%d).", conf_path,
    235                     errno);
     234                log_msg(LOG_DEFAULT, LVL_ERROR, "Unable to read file '%s': %s.", conf_path,
     235                    str_error(errno));
    236236                goto cleanup;
    237237        }
Note: See TracChangeset for help on using the changeset viewer.