mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
remove fclose that happened before fopen
This commit is contained in:
parent
8e12bc0299
commit
be79973194
@ -3770,7 +3770,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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user