summaryrefslogtreecommitdiff
path: root/lib/ipmi_channel.c
diff options
context:
space:
mode:
authorZdenek Styblik <stybla@turnovfree.net>2015-01-16 20:07:26 +0100
committerZdenek Styblik <stybla@turnovfree.net>2015-01-16 20:07:26 +0100
commit278dc84b22284f458ed0616fb53587a494b8faf6 (patch)
treec1a60639ac499ab7644a676ef178397e2d00e5e1 /lib/ipmi_channel.c
parent0801b4588df49f6e509c59e052504ffb90107c8c (diff)
downloadipmitool-278dc84b22284f458ed0616fb53587a494b8faf6.tar.gz
Print error message to STDERR in ipmi_channel.c
Print error message to STDERR and not STDOUT in ipmi_channel_main().
Diffstat (limited to 'lib/ipmi_channel.c')
-rw-r--r--lib/ipmi_channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ipmi_channel.c b/lib/ipmi_channel.c
index c5a18b1..295ceee 100644
--- a/lib/ipmi_channel.c
+++ b/lib/ipmi_channel.c
@@ -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;
}