mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Fix "ipmitool pef {status,info}" not printing final newline
Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
This commit is contained in:
parent
55ec2df41f
commit
fa8e2ced19
@ -1486,6 +1486,7 @@ ipmi_pef2_get_info(struct ipmi_intf *intf)
|
|||||||
ipmi_pef_print_guid(guid_ptr);
|
ipmi_pef_print_guid(guid_ptr);
|
||||||
}
|
}
|
||||||
ipmi_pef_print_flags(&pef_b2s_actions, P_SUPP, pcap.actions);
|
ipmi_pef_print_flags(&pef_b2s_actions, P_SUPP, pcap.actions);
|
||||||
|
putchar('\n');
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1537,6 +1538,7 @@ ipmi_pef2_get_status(struct ipmi_intf *intf)
|
|||||||
return (-1);
|
return (-1);
|
||||||
}
|
}
|
||||||
ipmi_pef_print_flags(&pef_b2s_actions, P_ACTV, rsp->data[1]);
|
ipmi_pef_print_flags(&pef_b2s_actions, P_ACTV, rsp->data[1]);
|
||||||
|
putchar('\n');
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user