diff options
author | pfg <pfg@FreeBSD.org> | 2015-02-15 18:02:05 +0000 |
---|---|---|
committer | pfg <pfg@FreeBSD.org> | 2015-02-15 18:02:05 +0000 |
commit | aa3b216a6024b7af176a61d25a911d448245a201 (patch) | |
tree | e9eb31bc65eca69d5907eb76d1c2d4cb10417835 /lib | |
parent | 642d51969a3fd31fb3fde1fd13dfa40e260620b7 (diff) | |
download | FreeBSD-src-aa3b216a6024b7af176a61d25a911d448245a201.zip FreeBSD-src-aa3b216a6024b7af176a61d25a911d448245a201.tar.gz |
Mismatch in r278804.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/gen/getgrent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getgrent.c b/lib/libc/gen/getgrent.c index 43574e7..63bc502 100644 --- a/lib/libc/gen/getgrent.c +++ b/lib/libc/gen/getgrent.c @@ -1450,7 +1450,7 @@ docompat: pos = ftello(st->fp); } fin: - if (st->fp != NULL || !stayopen) { + if (st->fp != NULL && !stayopen) { fclose(st->fp); st->fp = NULL; } |