diff --git a/ChangeLog b/ChangeLog index 783e6c3f..975bba57 100644 --- a/ChangeLog +++ b/ChangeLog @@ -13,6 +13,7 @@ 2008-05-26 Nicolas François * 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. diff --git a/libmisc/failure.h b/libmisc/failure.h index 10ba2d90..dc36c948 100644 --- a/libmisc/failure.h +++ b/libmisc/failure.h @@ -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