summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-28 17:11:37 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-31 13:20:43 +0200
commit6513d561ce4c894ea4e29612a2ed62c8310a164f (patch)
tree0cf0f2512e53bc9f1d6ee2cc8bd50432b96f60cc
parent3f5e811594bcdb25d3aa859cb0be06f6df3a03b9 (diff)
core: use DUAL_TIMESTAMP_NULL where we can
-rw-r--r--src/core/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/main.c b/src/core/main.c
index 87b97aa883..e232be88c0 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -1391,8 +1391,7 @@ int main(int argc, char *argv[]) {
/* clear the kernel timestamp,
* because we are not PID 1 */
- kernel_timestamp.monotonic = 0ULL;
- kernel_timestamp.realtime = 0ULL;
+ kernel_timestamp = DUAL_TIMESTAMP_NULL;
}
/* Initialize default unit */