[git commit] ifenslave: fix missing close paren

Mike Frysinger vapier at gentoo.org
Wed Dec 26 22:12:26 UTC 2012


commit: http://git.busybox.net/busybox/commit/?id=a38f9faa9fa230eb3753381c4f626acf029379fb
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Reported-by: David J Cozatt <ygdrasil at comcast.net>
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 networking/ifenslave.c |    2 +-
 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(


More information about the busybox-cvs mailing list