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:
Zdenek Styblik 2013-07-07 11:29:23 +00:00
parent 1d9dd4e2de
commit 865c435b4c

View File

@ -3912,8 +3912,9 @@ ipmi_delloem_vFlash_process(struct ipmi_intf * intf, int current_arg, char ** ar
{
int rc;
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 "
"interface.\n Its not enabled for lan and lanplus interface.");
lprintf(LOG_ERR,
"vFlash support is enabled only for wmi and open interface.");
lprintf(LOG_ERR, "Its not enabled for lan and lanplus interface.");
return -1;
}