don't return failure code on timeouts

This commit is contained in:
Duncan Laurie 2005-01-27 17:41:48 +00:00
parent 8dd12afdad
commit 1d7e045d47

View File

@ -733,6 +733,11 @@ ipmi_spd_print(struct ipmi_intf * intf, uint8_t id)
if (rsp->ccode > 0) {
printf(" Device not present (%s)\n",
val2str(rsp->ccode, completion_code_vals));
/* Timeouts are acceptable. No DIMM in the socket */
if (rsp->ccode == 0xc3)
return 1;
return -1;
}