diff options
Diffstat (limited to 'src/analyze/analyze-verify.c')
-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) |