mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
Fix Assign instead of compare in KfwumGetDeviceInfo() - CID#1149034
This commit is contained in:
parent
c2e65d0dce
commit
fb69b5dc9e
@ -571,7 +571,7 @@ KfwumGetDeviceInfo(struct ipmi_intf *intf, unsigned char output,
|
||||
pGetDevId->fw_rev1, pGetDevId->fw_rev2 >> 4,
|
||||
pGetDevId->fw_rev2 & 0x0f);
|
||||
if (((pBoardInfo->iana == IPMI_OEM_KONTRON)
|
||||
&& (pBoardInfo->boardId = KFWUM_BOARD_KONTRON_5002))) {
|
||||
&& (pBoardInfo->boardId == KFWUM_BOARD_KONTRON_5002))) {
|
||||
printf(" SDR %u", pGetDevId->aux_fw_rev[0]);
|
||||
}
|
||||
printf("\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user