diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-02-20 02:12:40 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-02-20 02:12:40 +0100 |
commit | 97d6a2e491c6ed08473beb2c4bac47c5cbc1201a (patch) | |
tree | 728b931c62b22ea55a13b292f6f77930897067fd /lib/hpm2.c | |
parent | 55031e72e6c02b4ae63e9052bad1a4b40002ac18 (diff) |
Imported Upstream version 1.8.16upstream/1.8.16
Diffstat (limited to 'lib/hpm2.c')
-rw-r--r-- | lib/hpm2.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -213,8 +213,8 @@ int hpm2_get_lan_channel_capabilities(struct ipmi_intf * intf, /* send */ rsp = intf->sendrecv(intf, &req); - if (rsp) { - lprintf(LOG_NOTICE, "Error sending request"); + if (!rsp) { + lprintf(LOG_NOTICE, "Error sending request."); return -1; } |