numam-dpdk/lib/librte_power
Daniel Mrzyglod f87a9ddc4a power: fix error messages
Function strerror(errno) has built strings only for non-negative errno values.
for negative values of errno it describe error as "Unknown error -errno"
to be more descriptive i put string "channel not found" taken from header.

The negative argument will be interpreted as a very large unsigned value.

Coverity issue: 13266
Coverity issue: 13269
Fixes: 445c6528b5 ("power: common interface for guest and host")

Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
2016-05-16 14:17:41 +02:00
..
channel_commands.h power: remove duplicate definition 2015-12-07 04:57:16 +01:00
guest_channel.c power: fix error messages 2016-05-16 14:17:41 +02:00
guest_channel.h power: vm communication channels in guest 2014-11-26 17:27:03 +01:00
Makefile mk: add library version extension 2015-02-03 16:56:58 +01:00
rte_power_acpi_cpufreq.c power: common interface for guest and host 2014-11-26 17:27:04 +01:00
rte_power_acpi_cpufreq.h power: common interface for guest and host 2014-11-26 17:27:04 +01:00
rte_power_common.h power: common interface for guest and host 2014-11-26 17:27:04 +01:00
rte_power_kvm_vm.c power: fix error messages 2016-05-16 14:17:41 +02:00
rte_power_kvm_vm.h power: common interface for guest and host 2014-11-26 17:27:04 +01:00
rte_power_version.map lib: provide initial versioning 2015-02-03 16:56:58 +01:00
rte_power.c power: common interface for guest and host 2014-11-26 17:27:04 +01:00
rte_power.h doc: fix doxygen warnings 2015-06-19 12:11:53 +02:00