diff options
-rw-r--r-- | usr.bin/man/man.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/man/man.c b/usr.bin/man/man.c index c32d968b2d0..6113244e275 100644 --- a/usr.bin/man/man.c +++ b/usr.bin/man/man.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man.c,v 1.11 1998/09/14 05:44:12 deraadt Exp $ */ +/* $OpenBSD: man.c,v 1.12 1998/11/16 06:28:32 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.11 1998/09/14 05:44:12 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: man.c,v 1.12 1998/11/16 06:28:32 deraadt Exp $"; #endif #endif /* not lint */ @@ -385,7 +385,7 @@ main(argc, argv) p += len; *p++ = ' '; } - *p = '\0'; + *--p = '\0'; /* Use system(3) in case someone's pager is "pager arg1 arg2". */ (void)system(cmd); |