mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-11 02:57:22 +00:00
fix ipmi_fru_edit_multirec return code
This commit is contained in:
parent
333dc5bedc
commit
66958d8c52
@ -1592,7 +1592,7 @@ ipmi_fru_write_from_bin(struct ipmi_intf * intf,
|
|||||||
*/
|
*/
|
||||||
/* Work in progress, copy paste most of the stuff for other functions in this
|
/* Work in progress, copy paste most of the stuff for other functions in this
|
||||||
file ... not elegant yet */
|
file ... not elegant yet */
|
||||||
static void
|
static int
|
||||||
ipmi_fru_edit_multirec(struct ipmi_intf * intf, uint8_t id)
|
ipmi_fru_edit_multirec(struct ipmi_intf * intf, uint8_t id)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -1719,6 +1719,7 @@ ipmi_fru_edit_multirec(struct ipmi_intf * intf, uint8_t id)
|
|||||||
|
|
||||||
free(fru_data);
|
free(fru_data);
|
||||||
}
|
}
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user