]> Savannah Git Hosting - gnulib.git/commit
readutmp: Fix the boot time returned on Minix.
authorBruno Haible <bruno@clisp.org>
Fri, 11 Aug 2023 13:22:43 +0000 (15:22 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 11 Aug 2023 13:22:43 +0000 (15:22 +0200)
commitf3067de49182e38bdc100e938a20822f88615590
tree2bdc13d9dd4f5dffa4ead54ff72bb184aa3a068d
parente638a367656c2c774a90106df0b0bb53271d7379
readutmp: Fix the boot time returned on Minix.

* lib/readutmp.c (read_utmp_from_file): [__minix] When the time of the
BOOT_TIME entry is very close to the Epoch, replace it with the time
from the "run-level m" entry.
ChangeLog
lib/readutmp.c