mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-11 19:17:22 +00:00
fix formatting
This commit is contained in:
parent
e75fb44b4c
commit
62574d281c
@ -712,15 +712,14 @@ void ipmi_spd_print(struct ipmi_intf * intf, unsigned char id)
|
||||
|
||||
rsp = intf->sendrecv(intf, &req);
|
||||
if (!rsp) {
|
||||
printf(" Error while reading FRU data.\n");
|
||||
printf(" Device not present (No Response)\n");
|
||||
return;
|
||||
}
|
||||
if (rsp->ccode == 0xc3) {
|
||||
printf(" Timeout while reading FRU data. (Device not present?)\n");
|
||||
if(rsp->ccode) {
|
||||
printf(" Device not present (%s)\n",
|
||||
val2str(rsp->ccode, completion_code_vals));
|
||||
return;
|
||||
}
|
||||
if (rsp->ccode)
|
||||
break;
|
||||
|
||||
len = rsp->data[0];
|
||||
memcpy(&spd_data[offset], rsp->data + 1, len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user