diff options
author | Zdenek Styblik <stybla@turnovfree.net> | 2015-01-16 20:07:26 +0100 |
---|---|---|
committer | Zdenek Styblik <stybla@turnovfree.net> | 2015-01-16 20:07:26 +0100 |
commit | 278dc84b22284f458ed0616fb53587a494b8faf6 (patch) | |
tree | c1a60639ac499ab7644a676ef178397e2d00e5e1 /lib/ipmi_channel.c | |
parent | 0801b4588df49f6e509c59e052504ffb90107c8c (diff) | |
download | ipmitool-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.c | 2 |
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; } |