]> granicus.if.org Git - shadow/commitdiff
(failcheck): The failed argument is a bool.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 25 May 2008 22:54:20 +0000 (22:54 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 25 May 2008 22:54:20 +0000 (22:54 +0000)
ChangeLog
libmisc/failure.h

index 783e6c3f303c5cc63ca553f4d3dc8e211531b764..975bba57b0588d35c27352320eb1a9d550925efe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,7 @@
 2008-05-26  Nicolas François  <nicolas.francois@centraliens.net>
 
        * libmisc/failure.c (failcheck): The failed argument is a bool.
+       * libmisc/failure.h: Likewise.
        * libmisc/failure.c (too_many_failures): too_many_failures returns
        a bool.
        * libmisc/failure.c: Add notes about unchecked return values.
index 10ba2d9018834f2a110f18926cd799507e35281b..dc36c9480c3303e2d14d8f14045fb3774aa53d7e 100644 (file)
@@ -57,7 +57,7 @@ extern void failure (uid_t, const char *, struct faillog *);
  *     returns FALSE to indicate that the login should be denied even though
  *     the password is valid.
  */
-extern int failcheck (uid_t, struct faillog *, int);
+extern int failcheck (uid_t uid, struct faillog *fl, bool failed);
 
 /*
  * failprint - print line of failure information