diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-03-03 12:56:52 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-03-05 07:10:08 +0900 |
commit | 496db330041151138809c8f8579fa91d7897aabe (patch) | |
tree | 865ff3fde1989e4bf931da2563dfd3315401f3e9 /src/ask-password | |
parent | e6283cbf48a3821d03ec73252620fc1b04bd4588 (diff) | |
download | systemd-496db330041151138809c8f8579fa91d7897aabe.tar.gz |
tree-wide: use usec_add() and usec_sub_unsigned()
Diffstat (limited to 'src/ask-password')
-rw-r--r-- | src/ask-password/ask-password.c | 2 |
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; |