fixed small operator priority bug; ! has higher precedence than & in
(!flags & FLAGCHECK)
This commit is contained in:
parent
904cf1f84d
commit
493ab97a8d
|
@ -122,7 +122,7 @@ PUBLIC void osdep_eth_init()
|
|||
rport= eth_port->etp_osdep.etp_port;
|
||||
assert(rport >= 0 && rport < eth_conf_nr);
|
||||
rep= ð_port_table[rport];
|
||||
if (!rep->etp_flags & EPF_ENABLED)
|
||||
if (!(rep->etp_flags & EPF_ENABLED))
|
||||
{
|
||||
printf(
|
||||
"eth%d: underlying ethernet device %d not enabled",
|
||||
|
|
Loading…
Reference in a new issue