From 79919f184ccb3e46b239ef5884a985073ad52fff Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Tue, 28 Apr 2009 19:14:50 +0000 Subject: [PATCH] * libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX. --- ChangeLog | 4 ++++ libmisc/failure.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index f42b662a..ee8166df 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-04-28 Nicolas François + + * libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX. + 2009-04-28 Nicolas François * libmisc/chkname.c: Do not include and . There diff --git a/libmisc/failure.c b/libmisc/failure.c index 320e4096..1a1e3d4a 100644 --- a/libmisc/failure.c +++ b/libmisc/failure.c @@ -289,11 +289,11 @@ void failprint (const struct faillog *fail) */ void failtmp (const char *username, -#ifdef HAVE_UTMPX_H +#ifdef USE_UTMPX const struct utmpx *failent -#else +#else /* !USE_UTMPX */ const struct utmp *failent -#endif +#endif /* !USE_UTMPX */ ) { char *ftmp;