cfgfile: use log for error messages
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 18 Jul 2019 17:18:11 +0000 (10:18 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 18 Jul 2019 22:47:50 +0000 (00:47 +0200)
commit0cfffed310c30fcd9dcc837349677f4d2976270e
tree64a22a8375da17f1276b9d447af2a259a6423c02
parent1b58407653efa1a69ba8872b2724263554b5e4f4
cfgfile: use log for error messages

In general, DPDK libraries to not print error messages to
stdout because that is often redirected to /dev/null for daemons.
This patch changes cfgfile library to use RTE_LOG with its
own type.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/Makefile
lib/librte_cfgfile/Makefile
lib/librte_cfgfile/rte_cfgfile.c