diff options
Diffstat (limited to 'src/shared/pager.c')
-rw-r--r-- | src/shared/pager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/pager.c b/src/shared/pager.c index 001927ce93..572c26b149 100644 --- a/src/shared/pager.c +++ b/src/shared/pager.c @@ -186,7 +186,7 @@ int show_man_page(const char *desc, bool null_stdio) { if (null_stdio) { r = make_null_stdio(); if (r < 0) { - log_error("Failed to kill stdio: %s", strerror(-r)); + log_error_errno(-r, "Failed to kill stdio: %m"); _exit(EXIT_FAILURE); } } |