mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
ID: 28 - 'lib/ipmi_delloem.c' - clean up the code
ipmi_delloem_vFlash_process() - use two lprintf() calls instead of one combined.
This commit is contained in:
parent
1d9dd4e2de
commit
865c435b4c
@ -3912,8 +3912,9 @@ ipmi_delloem_vFlash_process(struct ipmi_intf * intf, int current_arg, char ** ar
|
|||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
if (strncmp(intf->name,"wmi\0",4) && strncmp(intf->name, "open\0",5)) {
|
if (strncmp(intf->name,"wmi\0",4) && strncmp(intf->name, "open\0",5)) {
|
||||||
lprintf(LOG_ERR, " vFlash support is enabled only for wmi and open "
|
lprintf(LOG_ERR,
|
||||||
"interface.\n Its not enabled for lan and lanplus interface.");
|
"vFlash support is enabled only for wmi and open interface.");
|
||||||
|
lprintf(LOG_ERR, "Its not enabled for lan and lanplus interface.");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user