diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-19 18:54:29 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-19 18:54:29 +0200 |
commit | 63cf2d75d680848bbd2ab037247a8737a1c2461f (patch) | |
tree | 60b0585496387d4dc4befc1498449913320234ef /src/dissect/dissect.c | |
parent | coredump: include error cause in log message (diff) | |
download | systemd-63cf2d75d680848bbd2ab037247a8737a1c2461f.tar.xz systemd-63cf2d75d680848bbd2ab037247a8737a1c2461f.zip |
dissect: include error cause in log message
Diffstat (limited to 'src/dissect/dissect.c')
-rw-r--r-- | src/dissect/dissect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dissect/dissect.c b/src/dissect/dissect.c index 0adeee6691..86fa84337b 100644 --- a/src/dissect/dissect.c +++ b/src/dissect/dissect.c @@ -106,7 +106,7 @@ static int parse_argv(int argc, char *argv[]) { r = unhexmem(optarg, strlen(optarg), &p, &l); if (r < 0) - return log_error_errno(r, "Failed to parse root hash: %s", optarg); + return log_error_errno(r, "Failed to parse root hash '%s': %m", optarg); if (l < sizeof(sd_id128_t)) { log_error("Root hash must be at least 128bit long: %s", optarg); free(p); |