summaryrefslogtreecommitdiff
path: root/src/update-utmp/update-utmp.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-09-17 17:45:18 +0200
committerLennart Poettering <lennart@poettering.net>2012-09-17 17:48:19 +0200
commit19876c9b3de85f3b82dc3b8bbcaf3297b0d51edf (patch)
tree753d512db2b19a08da4749816dfc2cae8b5da403 /src/update-utmp/update-utmp.c
parenta866073d35dea05e6f3e56328d3eb6436943e7e6 (diff)
utmp: read the right timestamp
Diffstat (limited to 'src/update-utmp/update-utmp.c')
-rw-r--r--src/update-utmp/update-utmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update-utmp/update-utmp.c b/src/update-utmp/update-utmp.c
index 67c5788fe7..a311280c27 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;