chiark / gitweb /
utmp: read the right timestamp
[elogind.git] / src / update-utmp / update-utmp.c
index 67c5788fe7663032a0077b90bb9c09e6c696a381..a311280c2792fc62777c7cfd878337a82bf14127 100644 (file)
@@ -48,7 +48,7 @@ typedef struct Context {
 static usec_t get_startup_time(Context *c) {
         const char
                 *interface = "org.freedesktop.systemd1.Manager",
-                *property = "StartupTimestamp";
+                *property = "UserspaceTimestamp";
 
         usec_t t = 0;
         DBusMessage *reply = NULL;