From b9781c6faa797fd68ea2807345c02fa12c3e0efb Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 19 Apr 2021 09:42:18 +0000 Subject: Change WTMPX_FILE to something more common --- src/include/utmps/utmpx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/utmps/utmpx.h b/src/include/utmps/utmpx.h index f0414fb..0af2fac 100644 --- a/src/include/utmps/utmpx.h +++ b/src/include/utmps/utmpx.h @@ -69,7 +69,7 @@ extern void logwtmp (char const *, char const *, char const *) ; /* Unused, but some packages (ex: procps-ng) require these macros to be present */ #define UTMPX_FILE "/run/utmps/utmp" -#define WTMPX_FILE "/run/utmps/wtmp" +#define WTMPX_FILE "/var/log/wtmp" /* More old GNU/crap compatibility */ #define ut_name ut_user -- cgit 1.4.1