glibc/sysdeps/or1k/utmp-size.h
Florian Weimer 78d9f91da6 login: Check default sizes of structs utmp, utmpx, lastlog
The default <utmp-size.h> is for ports with a 64-bit time_t.
Ports with a 32-bit time_t or with __WORDSIZE_TIME64_COMPAT32=1
need to override it.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
(cherry picked from commit 4d4da5aab9)
2024-04-19 18:38:23 +02:00

4 lines
121 B
C

/* or1k has less padding than other architectures with 64-bit time_t. */
#define UTMP_SIZE 392
#define LASTLOG_SIZE 296