fru: Fix a typo causing compilation to fail (#37)

Fix the text of the structure cast to use the actual structure name.

Signed-off-by: Johnathan Mantey <[email protected]>

Co-authored-by: Johnathan Mantey <[email protected]>
Reviewed-on: #37
Reviewed-by: Alexander Amelkin <[email protected]>
Co-authored-by: Johnathan Mantey <[email protected]>
Co-committed-by: Johnathan Mantey <[email protected]>
This commit is contained in:
Johnathan Mantey 2024-06-28 16:36:20 +00:00 committed by Alexander Amelkin
commit bf774149ae

View file

@ -1553,7 +1553,7 @@ fru_area_print_multirec(struct ipmi_intf * intf, struct fru_info * fru,
case FRU_RECORD_TYPE_MANAGEMENT_ACCESS:
{
struct fru_multirec_mgmt *mmh =
(struct fru_multirect_mgmt *)
(struct fru_multirec_mgmt *)
&fru_data[sizeof(struct fru_multirec_header)];
size_t datalen = h->len - sizeof(*mmh);
struct {