chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
general: unify error code we generate on timeout
[elogind.git]
/
src
/
tty-ask-password-agent.c
diff --git
a/src/tty-ask-password-agent.c
b/src/tty-ask-password-agent.c
index 14b01486bd4636a942347df45c7df77880f5838e..5e745247e5d01c715605b6101f4bd6aa8e5e9617 100644
(file)
--- a/
src/tty-ask-password-agent.c
+++ b/
src/tty-ask-password-agent.c
@@
-128,7
+128,7
@@
static int ask_password_plymouth(
y = now(CLOCK_MONOTONIC);
if (y > until) {
y = now(CLOCK_MONOTONIC);
if (y > until) {
- r = -ETIME
DOUT
;
+ r = -ETIME;
goto finish;
}
goto finish;
}
@@
-149,7
+149,7
@@
static int ask_password_plymouth(
r = -errno;
goto finish;
} else if (j == 0) {
r = -errno;
goto finish;
} else if (j == 0) {
- r = -ETIME
DOUT
;
+ r = -ETIME;
goto finish;
}
goto finish;
}