ifenslave: fix missing close paren

Reported-by: David J Cozatt <ygdrasil@comcast.net>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
Mike Frysinger 2012-12-26 17:12:26 -05:00
parent 12677acf0a
commit a38f9faa9f

View File

@ -546,7 +546,7 @@ int ifenslave_main(int argc UNUSED_PARAM, char **argv)
#ifdef WHY_BOTHER #ifdef WHY_BOTHER
/* Neither -c[hange] nor -d[etach] -> it's "enslave" then; /* Neither -c[hange] nor -d[etach] -> it's "enslave" then;
* and -f[orce] is not there too. Check that it's ethernet. */ * 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. */ /* The family '1' is ARPHRD_ETHER for ethernet. */
if (master.hwaddr.ifr_hwaddr.sa_family != 1) { if (master.hwaddr.ifr_hwaddr.sa_family != 1) {
bb_error_msg_and_die( bb_error_msg_and_die(