summaryrefslogtreecommitdiff
path: root/sbin/brconfig/brconfig.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2002-12-09 12:34:09 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2002-12-09 12:34:09 +0000
commit23611a61c13cadff1fe7ba47fcbdbd35631f48ba (patch)
tree974707eb522d1c915a62d279d63a8d649690b7b9 /sbin/brconfig/brconfig.c
parent109e1a8da41de58405ec85e25fcfe471a5c3d46b (diff)
KNF
Diffstat (limited to 'sbin/brconfig/brconfig.c')
-rw-r--r--sbin/brconfig/brconfig.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/brconfig/brconfig.c b/sbin/brconfig/brconfig.c
index bb030053ef0..695148e699e 100644
--- a/sbin/brconfig/brconfig.c
+++ b/sbin/brconfig/brconfig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: brconfig.c,v 1.20 2002/12/09 10:11:53 markus Exp $ */
+/* $OpenBSD: brconfig.c,v 1.21 2002/12/09 12:34:08 markus Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
@@ -945,8 +945,7 @@ bridge_ifcost(int s, char *brdg, char *ifname, char *val)
errno = 0;
v = strtoul(val, &endptr, 0);
if (val[0] == '\0' || endptr[0] != '\0' ||
- (errno == ERANGE && v == ULONG_MAX) ||
- (v < 1 || v > 0xffffffff)) {
+ (errno == ERANGE && v == ULONG_MAX) || (v < 1 || v > 0xffffffff)) {
printf("invalid arg for ifcost: %s\n", val);
return (EX_USAGE);
}