mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
added missing () for operator precedence bug
This commit is contained in:
parent
9cbe0938f1
commit
cf96efd47d
@ -460,7 +460,7 @@ ipmi_picmg_amc_portstate_get(struct ipmi_intf * intf,int device,int channel,
|
||||
/* I don't know what kind of frug addict defined this record */
|
||||
port = d->linkInfo[0] & 0x0F;
|
||||
type = ((d->linkInfo[0] & 0xF0) >> 4 )|(d->linkInfo[1] & 0x0F );
|
||||
ext = (d->linkInfo[1] & 0xF0 >> 4 );
|
||||
ext = ((d->linkInfo[1] & 0xF0) >> 4 );
|
||||
grouping = d->linkInfo[2];
|
||||
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user