1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-02-04 17:47:03 +03:00

core: use DUAL_TIMESTAMP_NULL to reset kernel_timestamp

instead of direct reset of kernel_timestamp fields.
This commit is contained in:
Alexander Kuleshov 2016-02-29 18:56:57 +06:00
parent 06fb28b16e
commit 0f5f63c328

View File

@ -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;