mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-07-03 10:41:40 +00:00
fix segfault that was reverted...
This commit is contained in:
@@ -3843,7 +3843,6 @@ ipmi_sdr_dump_bin(struct ipmi_intf *intf, const char *ofile)
|
|||||||
itr = ipmi_sdr_start(intf);
|
itr = ipmi_sdr_start(intf);
|
||||||
if (itr == NULL) {
|
if (itr == NULL) {
|
||||||
lprintf(LOG_ERR, "Unable to open SDR for reading");
|
lprintf(LOG_ERR, "Unable to open SDR for reading");
|
||||||
fclose(fp);
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user