fix formatting

This commit is contained in:
Duncan Laurie 2004-11-11 19:13:31 +00:00
parent e75fb44b4c
commit 62574d281c

View File

@ -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);