summaryrefslogtreecommitdiff
path: root/src/network/wait-online/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/wait-online/manager.c')
-rw-r--r--src/network/wait-online/manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/wait-online/manager.c b/src/network/wait-online/manager.c
index 093622270d..e5e23979ea 100644
--- a/src/network/wait-online/manager.c
+++ b/src/network/wait-online/manager.c
@@ -380,7 +380,7 @@ int manager_new(Manager **ret,
(void) sd_event_add_signal(m->event, NULL, SIGINT, NULL, NULL);
if (timeout > 0) {
- r = sd_event_add_time_relative(m->event, NULL, clock_boottime_or_monotonic(), timeout, 0, NULL, INT_TO_PTR(-ETIMEDOUT));
+ r = sd_event_add_time_relative(m->event, NULL, CLOCK_BOOTTIME, timeout, 0, NULL, INT_TO_PTR(-ETIMEDOUT));
if (r < 0 && r != -EOVERFLOW)
return r;
}