summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/man/man/man.c2
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);
OpenPOWER on IntegriCloud