Skip to content

Commit

Permalink
core: use DUAL_TIMESTAMP_NULL to reset kernel_timestamp
Browse files Browse the repository at this point in the history
instead of direct reset of kernel_timestamp fields.
  • Loading branch information
0xAX committed Feb 29, 2016
1 parent 06fb28b commit 0f5f63c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0f5f63c

Please sign in to comment.