summaryrefslogtreecommitdiff
path: root/src/ask-password
diff options
context:
space:
mode:
Diffstat (limited to 'src/ask-password')
-rw-r--r--src/ask-password/ask-password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ask-password/ask-password.c b/src/ask-password/ask-password.c
index 599ffcdf09..6b89f57e1b 100644
--- a/src/ask-password/ask-password.c
+++ b/src/ask-password/ask-password.c
@@ -166,7 +166,7 @@ static int run(int argc, char *argv[]) {
return r;
if (arg_timeout > 0)
- timeout = now(CLOCK_MONOTONIC) + arg_timeout;
+ timeout = usec_add(now(CLOCK_MONOTONIC), arg_timeout);
else
timeout = 0;