chiark / gitweb /
core: properly initialize kernel timestamp
[elogind.git] / src / core / manager.c
index 3a4023f31a914f40adfa25f6cec6cefafb5b2506..df0fd63e87171add3dbb6fa6b6498bb90a9660f2 100644 (file)
@@ -301,6 +301,7 @@ int manager_new(SystemdRunningAs running_as, Manager **_m) {
                 return -ENOMEM;
 
         dual_timestamp_get(&m->userspace_timestamp);
+        dual_timestamp_from_monotonic(&m->kernel_timestamp, 0);
 
         m->running_as = running_as;
         m->name_data_slot = m->conn_data_slot = m->subscribed_data_slot = -1;