diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-19 17:43:02 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-10-19 17:43:02 +0200 |
commit | e95a86c79e77656bda06d0071147cee856fb39f7 (patch) | |
tree | 124975cacb02f71376ec817ff2e77789d5001afa /src/analyze | |
parent | tree-wide: some automatic coccinelle fixes (#10463) (diff) | |
download | systemd-e95a86c79e77656bda06d0071147cee856fb39f7.tar.xz systemd-e95a86c79e77656bda06d0071147cee856fb39f7.zip |
analyze: update log message
Diffstat (limited to 'src/analyze')
-rw-r--r-- | src/analyze/analyze-verify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analyze/analyze-verify.c b/src/analyze/analyze-verify.c index 402203a3c7..42f2a8f345 100644 --- a/src/analyze/analyze-verify.c +++ b/src/analyze/analyze-verify.c @@ -179,9 +179,9 @@ static int verify_documentation(Unit *u, bool check_man) { k = show_man_page(*p + 4, true); if (k != 0) { if (k < 0) - log_unit_error_errno(u, r, "Can't show %s: %m", *p); + log_unit_error_errno(u, k, "Can't show %s: %m", *p + 4); else { - log_unit_error_errno(u, r, "man %s command failed with code %d", *p + 4, k); + log_unit_error(u, "Command 'man %s' failed with code %d", *p + 4, k); k = -ENOEXEC; } if (r == 0) |