Commit 826c19d3dc416244267d3d21f7a901a7163d7d22

Bruno Haible 2023-08-12T19:01:56

readutmp: Reduce code duplication. * lib/readutmp.c (have_boot_time): New function. (read_utmp_from_file): Invoke it, instead of duplicating the same loop.