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: 445c6528b55f ("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
..
2016-05-16 14:17:41 +02:00
2015-02-03 16:56:58 +01:00
2016-05-16 14:17:41 +02:00
2015-06-19 12:11:53 +02:00