eventdev: fix error log in eth Rx adapter
authorNikhil Rao <nikhil.rao@intel.com>
Thu, 29 Nov 2018 08:00:17 +0000 (13:30 +0530)
committerJerin Jacob <jerinj@marvell.com>
Sun, 16 Dec 2018 16:22:14 +0000 (17:22 +0100)
commit91c1667da077976a8fe443cfc9281ef430c5532c
tree1730281f6a41dc5d3b118dd8999ce2270e531946
parentf8a05885e7fffbcba1b42bf21ac61c2523943cde
eventdev: fix error log in eth Rx adapter

strerror() input parameter should be > 0.

Coverity issue: 302864
Fixes: 3810ae435783 ("eventdev: add interrupt driven queues to Rx adapter")
Cc: stable@dpdk.org
Signed-off-by: Nikhil Rao <nikhil.rao@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_eventdev/rte_event_eth_rx_adapter.c