summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Kuleshov <kuleshovmail@gmail.com>2016-02-29 18:56:57 +0600
committerAlexander Kuleshov <kuleshovmail@gmail.com>2016-02-29 18:56:57 +0600
commit0f5f63c3282e90b33a61dc7f9bb7110e49685627 (patch)
treedff680d1a0236e5ed99eaf25c80bab6eb2ed2362
parent06fb28b16eb4b6170c2e2c0cf1f673730309509b (diff)
core: use DUAL_TIMESTAMP_NULL to reset kernel_timestamp
instead of direct reset of kernel_timestamp fields.
-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 b4e96fd6f4..00ec8dac03 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;