summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/getcap.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-03-19 00:29:51 +0000
committermillert <millert@openbsd.org>1998-03-19 00:29:51 +0000
commitdfa5a4f6e3a2e75d92d79ce0e572feb85230a557 (patch)
treeedbbc806584b9a4898b296c427abdb5c7f559aea /lib/libc/gen/getcap.c
parentSome -Wall (diff)
downloadwireguard-openbsd-dfa5a4f6e3a2e75d92d79ce0e572feb85230a557.tar.xz
wireguard-openbsd-dfa5a4f6e3a2e75d92d79ce0e572feb85230a557.zip
some -Wall
Diffstat (limited to 'lib/libc/gen/getcap.c')
-rw-r--r--lib/libc/gen/getcap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/gen/getcap.c b/lib/libc/gen/getcap.c
index 98e7c14acef..75013d7c3f9 100644
--- a/lib/libc/gen/getcap.c
+++ b/lib/libc/gen/getcap.c
@@ -35,7 +35,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: getcap.c,v 1.12 1998/03/17 23:28:58 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: getcap.c,v 1.13 1998/03/19 00:30:02 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -593,12 +593,12 @@ cgetmatch(buf, name)
*/
np = name;
for (;;)
- if (*np == '\0')
+ if (*np == '\0') {
if (*bp == '|' || *bp == ':' || *bp == '\0')
return (0);
else
break;
- else
+ } else
if (*bp++ != *np++)
break;