diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2007-09-25 21:41:22 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2007-09-25 21:41:22 +0000 |
commit | e06a060ed36afe294ddf0f26622a3b68263935bc (patch) | |
tree | ee8243c9bed15d516f6d80a7820bd075226898da | |
parent | 17c53e4a2899c34e9ce6f7cf2a5f0d481ec6335b (diff) | |
download | src-e06a060ed36afe294ddf0f26622a3b68263935bc.tar.gz src-e06a060ed36afe294ddf0f26622a3b68263935bc.zip |
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)
Notes
Notes:
svn path=/head/; revision=172325
-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 cb88053fb753..2cdd22a76b30 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); |