diff options
author | Ed Schouten <ed@80386.nl> | 2011-06-26 13:50:36 +0200 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-06-26 09:30:31 -0700 |
commit | 9e93c5f65a22824f6b4af7ee68944f2226f7efa7 (patch) | |
tree | 38650118e8cefa501331d466d917ecc6756ad75c /sessreg.h | |
parent | 92d2628e3b1db4b0217d91d532e21018371445bc (diff) |
Simply define LLOG_FILE and TTYS_FILE unconditionally.
It doesn't matter if we define these pathnames, even if we're not going
to use them in the code itself. It is already done that way for utmp and
wtmp.
Signed-off-by: Ed Schouten <ed@80386.nl>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'sessreg.h')
-rw-r--r-- | sessreg.h | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -103,18 +103,13 @@ # define UTMP_FILE "/etc/utmp" # endif #endif -#ifndef NO_LASTLOG -# ifndef LLOG_FILE -# ifdef _PATH_LASTLOG -# define LLOG_FILE _PATH_LASTLOG -# else -# define LLOG_FILE "/usr/adm/lastlog" -# endif +#ifndef LLOG_FILE +# ifdef _PATH_LASTLOG +# define LLOG_FILE _PATH_LASTLOG +# else +# define LLOG_FILE "/usr/adm/lastlog" # endif #endif -#ifndef SYSV -# ifndef TTYS_FILE -# define TTYS_FILE "/etc/ttys" -# endif +#ifndef TTYS_FILE +# define TTYS_FILE "/etc/ttys" #endif - |