From 78c0edb7c12e63a24a37818402fef9a8d2c62bea Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sun, 25 May 2008 22:54:20 +0000 Subject: [PATCH] (failcheck): The failed argument is a bool. --- ChangeLog | 1 + libmisc/failure.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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