summaryrefslogtreecommitdiff
path: root/src/machine
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2022-03-28 16:41:10 +0200
committerLennart Poettering <lennart@poettering.net>2022-03-28 16:55:41 +0200
commitba4e0427e955a648e24f6506d0cb92857c84b85d (patch)
tree78d563c6d8b36fab7b7d53997d5a27f55cad10d6 /src/machine
parentec4954d934c67c315669eff5593a68fd402a63e8 (diff)
downloadsystemd-ba4e0427e955a648e24f6506d0cb92857c84b85d.tar.gz
time-util: assume CLOCK_BOOTTIME always exists
Let's raise our supported baseline a bit: CLOCK_BOOTTIME started to work with timerfd in kernel 3.15 (i.e. back in 2014), let's require support for it now. This will raise our baseline only modestly from 3.13 → 3.15.
Diffstat (limited to 'src/machine')
-rw-r--r--src/machine/machined.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/machine/machined.c b/src/machine/machined.c
index a433afb1a6..9ecba8720f 100644
--- a/src/machine/machined.c
+++ b/src/machine/machined.c
@@ -127,7 +127,7 @@ static int manager_add_host_machine(Manager *m) {
t->root_directory = TAKE_PTR(rd);
t->unit = TAKE_PTR(unit);
- dual_timestamp_from_boottime_or_monotonic(&t->timestamp, 0);
+ dual_timestamp_from_boottime(&t->timestamp, 0);
m->host_machine = t;