Fix minor compilation warning (assignment used as a comparison).

This commit is contained in:
nekral-guest 2008-03-17 23:05:59 +00:00
parent d94602add8
commit 32b424e507
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-03-17 Nicolas François <nicolas.francois@centraliens.net>
* src/faillog.c: Fix minor compilation warning (assignment used as
a comparison).
2008-03-17 Nicolas François <nicolas.francois@centraliens.net> 2008-03-17 Nicolas François <nicolas.francois@centraliens.net>
* lib/prototypes.h, src/login.c: login_access() is used in * lib/prototypes.h, src/login.c: login_access() is used in

View File

@ -167,7 +167,7 @@ static void reset (void)
struct passwd *pwent; struct passwd *pwent;
setpwent (); setpwent ();
while ( pwent = getpwent () ) { while ( (pwent = getpwent ()) != NULL ) {
reset_one (pwent->pw_uid); reset_one (pwent->pw_uid);
} }
} }