libpldmresponder: Migrate to get_fru_record_by_option_check()
get_fru_record_by_option() is deprecated in libpldm as it relied on
assert() to communicate failures from the implementation.
get_fru_record_by_option_check() instead returns a value indicating
whether or not it succeeded.
Signed-off-by:
Andrew Jeffery <andrew@aj.id.au>
Change-Id: I621bdcc713e37bb12ac40825edb399b151123427
Loading
Please register or sign in to comment