From 19876c9b3de85f3b82dc3b8bbcaf3297b0d51edf Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 17 Sep 2012 17:45:18 +0200 Subject: [PATCH] utmp: read the right timestamp --- src/update-utmp/update-utmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/update-utmp/update-utmp.c b/src/update-utmp/update-utmp.c index 67c5788fe..a311280c2 100644 --- a/src/update-utmp/update-utmp.c +++ b/src/update-utmp/update-utmp.c @@ -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; -- 2.30.2