+2023-08-12 Bruno Haible <bruno@clisp.org>
+
+ readutmp: Fix compilation error on OpenBSD (regression 2023-08-11).
+ * lib/readutmp.c (read_utmp_from_file): Remove extraneous 'break'
+ statement.
+
2023-08-11 Bruno Haible <bruno@clisp.org>
boot-time: Add comment about multithread-safety.
{
struct timespec boot_time;
if (get_openbsd_boot_time (&boot_time) >= 0)
- {
- a = add_utmp (a, options,
- "reboot", strlen ("reboot"),
- "", 0,
- "", 0,
- "", 0,
- 0, BOOT_TIME, boot_time, 0, 0, 0);
- break;
- }
+ a = add_utmp (a, options,
+ "reboot", strlen ("reboot"),
+ "", 0,
+ "", 0,
+ "", 0,
+ 0, BOOT_TIME, boot_time, 0, 0, 0);
}
}
# endif