diff options
author | edwin <edwin@FreeBSD.org> | 2007-09-25 21:41:22 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2007-09-25 21:41:22 +0000 |
commit | c2ea759143645bf844d212ae502103d41e0e1f87 (patch) | |
tree | ee8243c9bed15d516f6d80a7820bd075226898da /gnu | |
parent | 422753af04dbb4b35f1007b2d48aa571f767f32f (diff) | |
download | FreeBSD-src-c2ea759143645bf844d212ae502103d41e0e1f87.zip FreeBSD-src-c2ea759143645bf844d212ae502103d41e0e1f87.tar.gz |
Fix possible uninitialized variable insert due to previous commit.
Pointy hat to: me and my absence of -Wall in my CFLAGS.
MFC will happen at the same time of the earlier commit.
Thanks to ru@ for spotting.
Approved by: re (Ken Smith), grog@ (mentor)
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/man/man/man.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/man/man/man.c b/gnu/usr.bin/man/man/man.c index cb88053..2cdd22a 100644 --- a/gnu/usr.bin/man/man/man.c +++ b/gnu/usr.bin/man/man/man.c @@ -898,7 +898,7 @@ ultimate_source (name, path) #endif #if HAVE_LIBZ > 0 - gzgets (fp, buf, BUFSIZ); + end = gzgets (fp, buf, BUFSIZ); gzclose(fp); #else end = fgets (buf, BUFSIZ, fp); |