Print error message to STDERR in ipmi_channel.c

Print error message to STDERR and not STDOUT in ipmi_channel_main().
This commit is contained in:
Zdenek Styblik 2015-01-16 20:07:26 +01:00
parent 0801b4588d
commit 278dc84b22

View File

@ -861,7 +861,7 @@ ipmi_channel_main(struct ipmi_intf *intf, int argc, char **argv)
argv[1], /* ipmi | sol */
channel);
} else {
printf("Invalid CHANNEL command: %s\n", argv[0]);
lprintf(LOG_ERR, "Invalid CHANNEL command: %s\n", argv[0]);
printf_channel_usage();
retval = -1;
}