summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-29 20:33:51 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-29 20:33:51 +0100
commitcae027de595c5e1c6750858e91b5805d0e741898 (patch)
tree693f62c71bf4bfc815bdfdbdf8f5ff5d2ef7f1f7
parentecb7c4488eb67ff2058f1efc4ea3e56678e38cb9 (diff)
parent0f5f63c3282e90b33a61dc7f9bb7110e49685627 (diff)
Merge pull request #2771 from 0xAX/core-kernel-timestamp-cleanup
core: use DUAL_TIMESTAMP_NULL to reset kernel_timestamp
-rw-r--r--src/core/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 2c315930ed..02c0488208 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -1435,9 +1435,7 @@ int main(int argc, char *argv[]) {
/* clear the kernel timestamp,
* because we are in a container */
- kernel_timestamp.monotonic = 0ULL;
- kernel_timestamp.realtime = 0ULL;
-
+ kernel_timestamp = DUAL_TIMESTAMP_NULL;
} else {
/* Running as user instance */
arg_running_as = MANAGER_USER;