[07/18] examples/power: replace use of RTE_LOGTYPE_POWER
Checks
Commit Message
Don't use static logtype in sample application.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: David Hunt <david.hunt@intel.com>
---
examples/distributor/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -679,7 +679,7 @@ init_power_library(void)
/* init power management library */
ret = rte_power_init(lcore_id);
if (ret) {
- RTE_LOG(ERR, POWER,
+ fprintf(stderr,
"Library initialization failed on core %u\n",
lcore_id);
/*