musl-utmp_path.diff 366 B

1234567891011121314
  1. --- include/utmp.h.orig 2017-01-01 00:27:17.000000000 -0300
  2. +++ include/utmp.h 2017-07-20 17:49:30.000000000 -0300
  3. @@ -37,8 +37,8 @@
  4. int login_tty(int);
  5. -#define _PATH_UTMP "/dev/null/utmp"
  6. -#define _PATH_WTMP "/dev/null/wtmp"
  7. +#define _PATH_UTMP "/var/run/utmp"
  8. +#define _PATH_WTMP "/var/log/wtmp"
  9. #define UTMP_FILE _PATH_UTMP
  10. #define WTMP_FILE _PATH_WTMP