diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-11 12:29:29 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2021-04-11 12:29:29 +0000 |
commit | 00ced4001b769e6f0c9c1dab7d43802bb6be36d4 (patch) | |
tree | 0e1d5ae98725ca179bc409a950422b01132cae02 /src/include | |
parent | db0eeb9fd5212ceff4935c3942f2bc85475bf28c (diff) | |
download | utmps-00ced4001b769e6f0c9c1dab7d43802bb6be36d4.tar.gz utmps-00ced4001b769e6f0c9c1dab7d43802bb6be36d4.tar.xz utmps-00ced4001b769e6f0c9c1dab7d43802bb6be36d4.zip |
Add WTMP_FILE; make getutx*() stay on found record
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/utmps/utmpx.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/utmps/utmpx.h b/src/include/utmps/utmpx.h index dd68945..f0414fb 100644 --- a/src/include/utmps/utmpx.h +++ b/src/include/utmps/utmpx.h @@ -67,8 +67,9 @@ extern void logwtmp (char const *, char const *, char const *) ; #define UT_NAMESIZE UTMPS_UT_NAMESIZE #define UT_HOSTSIZE UTMPS_UT_HOSTSIZE -/* Unused, but some packages (ex: procps-ng) require this macro to be present */ +/* 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" /* More old GNU/crap compatibility */ #define ut_name ut_user |