ifenslave: fix missing close paren
authorMike Frysinger <vapier@gentoo.org>
Wed, 26 Dec 2012 22:12:26 +0000 (17:12 -0500)
committerMike Frysinger <vapier@gentoo.org>
Wed, 26 Dec 2012 22:12:26 +0000 (17:12 -0500)
Reported-by: David J Cozatt <ygdrasil@comcast.net>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
networking/ifenslave.c

index ae7719f52f8a9cb60192d16fda346171640f49f3..f7f87bc552540452cc532f9b437ce718de7f9d6f 100644 (file)
@@ -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(