]> granicus.if.org Git - shadow/commitdiff
* libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 28 Apr 2009 19:14:50 +0000 (19:14 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Tue, 28 Apr 2009 19:14:50 +0000 (19:14 +0000)
ChangeLog
libmisc/failure.c

index f42b662a3079697f5b1fc0e653128d90febaf569..ee8166dfad3a1fd29e8a7c00b2ac9b89c41a16d1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
+
+       * libmisc/failure.c: Replace HAVE_UTMPX_H by USE_UTMPX.
+
 2009-04-28  Nicolas François  <nicolas.francois@centraliens.net>
 
        * libmisc/chkname.c: Do not include <utmp.h> and <utmpx.h>. There
index 320e409637d7f78b1a62fd52135cb3e9b13a0bd0..1a1e3d4a7e07649823a892403d2876d8b2108630 100644 (file)
@@ -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;