X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fupdate-utmp%2Fupdate-utmp.c;fp=src%2Fupdate-utmp%2Fupdate-utmp.c;h=9f021725001d2c40190ae0c99969de9d2933eb0a;hp=af1665733f68fe852c7825a0cb735d353264ab1c;hb=36fcac2cf7efe0164cce7d7674b6d13ddb14bb4b;hpb=3e6d9bb47a4f0f7b717de2691b1b962f65851869 diff --git a/src/update-utmp/update-utmp.c b/src/update-utmp/update-utmp.c index af1665733..9f0217250 100644 --- a/src/update-utmp/update-utmp.c +++ b/src/update-utmp/update-utmp.c @@ -69,6 +69,7 @@ static usec_t get_startup_time(Context *c) { log_error_errno(r, "Failed to get timestamp: %s", bus_error_message(&error, r)); return 0; } + return t; }