Fix minor compilation warning (assignment used as a comparison).
This commit is contained in:
1 parent
d94602add8
commit
32b424e507
2 files changed
+6
-1
No files matched your search
+1
-1
@@ -167,7 +167,7 @@ static void reset (void)
|
||||
struct passwd *pwent;
|
||||
|
||||
setpwent ();
|
||||
while ( pwent = getpwent () ) {
|
||||
while ( (pwent = getpwent ()) != NULL ) {
|
||||
reset_one (pwent->pw_uid);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user