diff options
-rw-r--r-- | src/core/manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index 47e23ba80..06ef376a1 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -241,7 +241,7 @@ static int manager_dispatch_ask_password_fd(sd_event_source *source, if (m->have_ask_password < 0) /* Log error but continue. Negative have_ask_password * is treated as unknown status. */ - log_error("Failed to list /run/systemd/ask-password: %s", strerror(m->have_ask_password)); + log_error("Failed to list /run/systemd/ask-password: %s", strerror(-m->have_ask_password)); return 0; } |