summaryrefslogtreecommitdiff
path: root/src/shared/pager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/pager.c')
-rw-r--r--src/shared/pager.c2
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);
}
}