summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-12-26 22:12:26 (GMT)
committer Mike Frysinger <vapier@gentoo.org>2012-12-26 22:12:26 (GMT)
commita38f9faa9fa230eb3753381c4f626acf029379fb (patch)
tree1b1bf29a516dc5027327dc2f1c9ac68078869d6f
parent12677acf0a0bda4a863279ece65eccda6c36d6b1 (diff)
downloadbusybox-a38f9faa9fa230eb3753381c4f626acf029379fb.tar.gz
busybox-a38f9faa9fa230eb3753381c4f626acf029379fb.tar.bz2
ifenslave: fix missing close paren
Reported-by: David J Cozatt <ygdrasil@comcast.net> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--networking/ifenslave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ifenslave.c b/networking/ifenslave.c
index ae7719f..f7f87bc 100644
--- a/networking/ifenslave.c
+++ b/networking/ifenslave.c
@@ -546,7 +546,7 @@ int ifenslave_main(int argc UNUSED_PARAM, char **argv)
#ifdef WHY_BOTHER
/* Neither -c[hange] nor -d[etach] -> it's "enslave" then;
* and -f[orce] is not there too. Check that it's ethernet. */
- if (!(opt & (OPT_d|OPT_c|OPT_f)) {
+ if (!(opt & (OPT_d|OPT_c|OPT_f))) {
/* The family '1' is ARPHRD_ETHER for ethernet. */
if (master.hwaddr.ifr_hwaddr.sa_family != 1) {
bb_error_msg_and_die(