]> Savannah Git Hosting - gnulib.git/commit
readutmp: Fix the boot time returned on Raspbian.
authorBruno Haible <bruno@clisp.org>
Thu, 10 Aug 2023 15:23:56 +0000 (17:23 +0200)
committerBruno Haible <bruno@clisp.org>
Thu, 10 Aug 2023 15:23:56 +0000 (17:23 +0200)
commit32accf3832f37e4c382d2ba8bf40409deff3b3c0
tree98880a85332713ee85cc54c6610bc6e59d7f1510
parentc1a4224957f8bfc6ad38224398a79dabf6e981c6
readutmp: Fix the boot time returned on Raspbian.

* lib/readutmp.c (read_utmp_from_file): When the time of the BOOT_TIME
entry is very close to the Epoch, replace it with the time from the
"runlevel"/"~" entry.
ChangeLog
lib/readutmp.c