From: nekral-guest Date: Tue, 28 Apr 2009 19:14:50 +0000 (+0000) Subject: * libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX. X-Git-Tag: 4.1.4~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79919f184ccb3e46b239ef5884a985073ad52fff;p=thirdparty%2Fshadow.git * libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX. --- diff --git a/ChangeLog b/ChangeLog index f42b662a3..ee8166dfa 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 320e40963..1a1e3d4a7 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;