summaryrefslogtreecommitdiff
path: root/src/ask-password-api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ask-password-api.c')
-rw-r--r--src/ask-password-api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ask-password-api.c b/src/ask-password-api.c
index 845517a690..f43075e601 100644
--- a/src/ask-password-api.c
+++ b/src/ask-password-api.c
@@ -132,7 +132,7 @@ int ask_password_tty(
r = -errno;
goto finish;
} else if (k == 0) {
- r = -ETIMEDOUT;
+ r = -ETIME;
goto finish;
}