diff options
Diffstat (limited to 'src/shared/spawn-ask-password-agent.c')
-rw-r--r-- | src/shared/spawn-ask-password-agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/spawn-ask-password-agent.c b/src/shared/spawn-ask-password-agent.c index ff121f86a2..6e31d8d138 100644 --- a/src/shared/spawn-ask-password-agent.c +++ b/src/shared/spawn-ask-password-agent.c @@ -49,7 +49,7 @@ int ask_password_agent_open(void) { SYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH, SYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH, "--watch", NULL); if (r < 0) - log_error("Failed to fork TTY ask password agent: %s", strerror(-r)); + log_error_errno(-r, "Failed to fork TTY ask password agent: %m"); return r; } |