That's the libc macro for this file.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
break
fi
done])
-AC_DEFINE_UNQUOTED([_WTMP_FILE], ["$shadow_cv_logdir/wtmp"],
- [Path for wtmp file.])
AC_DEFINE_UNQUOTED([FAILLOG_FILE], ["$shadow_cv_logdir/faillog"],
[Path for faillog file.])
#include <utmpx.h>
#include <assert.h>
+#include <paths.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>
#if !defined(USE_PAM)
/* This is done by pam_lastlog */
- updwtmpx(_WTMP_FILE, ut);
+ updwtmpx(_PATH_WTMP, ut);
#endif
return err;