diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-09-11 11:24:56 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-09-11 11:24:56 +0000 |
commit | 5eedbd00ef4cb4a9d8179b10b1f8140ccf0e1172 (patch) | |
tree | 58e17cc92041152b674b16b596628c8163a3dd97 /usr.bin/apropos | |
parent | 089ed1a3a82f83c83dbed0cd6c1fbad0d2749bba (diff) |
prelim Wall
Diffstat (limited to 'usr.bin/apropos')
-rw-r--r-- | usr.bin/apropos/apropos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/apropos/apropos.c b/usr.bin/apropos/apropos.c index 0992e011c69..9bd6bc03e64 100644 --- a/usr.bin/apropos/apropos.c +++ b/usr.bin/apropos/apropos.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apropos.c,v 1.4 1997/01/15 23:42:10 millert Exp $ */ +/* $OpenBSD: apropos.c,v 1.5 1997/09/11 11:24:53 deraadt Exp $ */ /* $NetBSD: apropos.c,v 1.5 1995/09/04 20:46:20 tls Exp $ */ /* @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)apropos.c 8.8 (Berkeley) 5/4/95"; #else -static char rcsid[] = "$OpenBSD: apropos.c,v 1.4 1997/01/15 23:42:10 millert Exp $"; +static char rcsid[] = "$OpenBSD: apropos.c,v 1.5 1997/09/11 11:24:53 deraadt Exp $"; #endif #endif /* not lint */ @@ -143,7 +143,7 @@ apropos(argv, path, buildpath) char buf[LINE_MAX + 1], wbuf[LINE_MAX + 1]; for (name = path; name; name = end) { /* through name list */ - if (end = strchr(name, ':')) + if ((end = strchr(name, ':'))) *end++ = '\0'; if (buildpath) { |