refine error message when session setup fails

This commit is contained in:
Duncan Laurie 2004-03-04 01:03:22 +00:00
parent 59b1d83751
commit 9c87f801a4

View File

@ -1060,13 +1060,10 @@ ipmi_lan_activate_session(struct ipmi_intf * intf)
if (rc < 0)
goto fail;
/* channel 0xE will query current channel */
// ipmi_get_channel_info(intf, IPMI_LAN_CHANNEL_E);
return 0;
fail:
printf("Unable to connect to IPMI-over-LAN host\n");
printf("Error: Unable to establish LAN session\n");
return -1;
}