diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-02-24 02:33:57 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-02-24 02:33:57 +0100 |
commit | ccc80078fe47395ffe0dd48cb6c81551d991ef4b (patch) | |
tree | bbb42e44b4ed74b39f7be2e12053bea81cc0505e /src/ask-password-api.c | |
parent | aa2e2115873e102b8f6701f4211ddf7bec4c5e10 (diff) |
general: unify error code we generate on timeout
Diffstat (limited to 'src/ask-password-api.c')
-rw-r--r-- | src/ask-password-api.c | 2 |
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; } |