diff options
-rw-r--r-- | src/appl/bsd/ChangeLog | 4 | ||||
-rw-r--r-- | src/appl/bsd/logutil.c | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/appl/bsd/ChangeLog b/src/appl/bsd/ChangeLog index 0a731c73a..d2ba8af43 100644 --- a/src/appl/bsd/ChangeLog +++ b/src/appl/bsd/ChangeLog @@ -1,3 +1,7 @@ +Wed Apr 26 17:43:08 1995 Mark Eichin <eichin@cygnus.com> + + * logutil.c (EMPTY): linux has UT_UNKNOWN, not EMPTY. + Wed Apr 26 09:41:35 1995 Ezra Peisach <epeisach@kangaroo.mit.edu> * krlogind.c (main): LOG_AUTH in openlog arguments in wrong place. diff --git a/src/appl/bsd/logutil.c b/src/appl/bsd/logutil.c index 5c594e492..12c67f282 100644 --- a/src/appl/bsd/logutil.c +++ b/src/appl/bsd/logutil.c @@ -42,6 +42,11 @@ #endif +#ifndef EMPTY +/* linux has UT_UNKNOWN but not EMPTY */ +#define EMPTY UT_UNKNOWN +#endif + void update_utmp(); void update_wtmp(); void logwtmp(); |