mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-28 03:17:23 +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);
|
rsp = intf->sendrecv(intf, &req);
|
||||||
if (!rsp) {
|
if (!rsp) {
|
||||||
printf(" Error while reading FRU data.\n");
|
printf(" Device not present (No Response)\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (rsp->ccode == 0xc3) {
|
if(rsp->ccode) {
|
||||||
printf(" Timeout while reading FRU data. (Device not present?)\n");
|
printf(" Device not present (%s)\n",
|
||||||
|
val2str(rsp->ccode, completion_code_vals));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (rsp->ccode)
|
|
||||||
break;
|
|
||||||
|
|
||||||
len = rsp->data[0];
|
len = rsp->data[0];
|
||||||
memcpy(&spd_data[offset], rsp->data + 1, len);
|
memcpy(&spd_data[offset], rsp->data + 1, len);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user