summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-04-19 09:42:18 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2021-04-19 09:42:18 +0000
commitb9781c6faa797fd68ea2807345c02fa12c3e0efb (patch)
tree26a15c001edad3d377d576c9d609a6da078efdd9
parent720c171458e5019169595a1c45a88f815157e997 (diff)
downloadutmps-b9781c6faa797fd68ea2807345c02fa12c3e0efb.tar.xz
Change WTMPX_FILE to something more common
-rw-r--r--src/include/utmps/utmpx.h2
1 files changed, 1 insertions, 1 deletions
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