summaryrefslogtreecommitdiff
path: root/usr.bin/man/man.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-10 04:16:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-09-10 04:16:31 +0000
commit29d41e4dc78b393453125846d2a437c2fe94482b (patch)
tree25150ca89a328be30fe7f0a0f1158cb934af0494 /usr.bin/man/man.c
parent4717899d5669d467e7e6bdd1be1174c3d55dd05d (diff)
path buf too small; tron@lyssa.owl.de
Diffstat (limited to 'usr.bin/man/man.c')
-rw-r--r--usr.bin/man/man.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/man/man.c b/usr.bin/man/man.c
index 70e5d873080..0a5f2152393 100644
--- a/usr.bin/man/man.c
+++ b/usr.bin/man/man.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: man.c,v 1.5 1997/01/15 23:42:52 millert Exp $ */
+/* $OpenBSD: man.c,v 1.6 1997/09/10 04:16:30 deraadt Exp $ */
/* $NetBSD: man.c,v 1.7 1995/09/28 06:05:34 tls Exp $ */
/*
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)man.c 8.17 (Berkeley) 1/31/95";
#else
-static char rcsid[] = "$OpenBSD: man.c,v 1.5 1997/01/15 23:42:52 millert Exp $";
+static char rcsid[] = "$OpenBSD: man.c,v 1.6 1997/09/10 04:16:30 deraadt Exp $";
#endif
#endif /* not lint */
@@ -382,7 +382,7 @@ manual(page, tag, pg)
ENTRY *ep, *e_sufp, *e_tag;
TAG *missp, *sufp;
int anyfound, cnt, found;
- char *p, buf[128];
+ char *p, buf[MAXPATHLEN];
anyfound = 0;
buf[0] = '*';