From 23611a61c13cadff1fe7ba47fcbdbd35631f48ba Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Mon, 9 Dec 2002 12:34:09 +0000 Subject: KNF --- sbin/brconfig/brconfig.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sbin/brconfig') 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); } -- cgit v1.2.3