From 8ee1b1fa78aed822c397916ec69cd9365a3a8456 Mon Sep 17 00:00:00 2001 From: Taras Chornyi Date: Mon, 26 Sep 2016 10:37:01 +0100 Subject: [PATCH] dpdkstat: Changed log severity to Error --- src/dpdkstat.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/dpdkstat.c b/src/dpdkstat.c index dc3e7dfd..145f96b7 100644 --- a/src/dpdkstat.c +++ b/src/dpdkstat.c @@ -152,10 +152,8 @@ static int dpdk_config(oconfig_item_t *ci) { */ int err = dpdk_shm_init(sizeof(dpdk_config_t)); if (err) { -#if COLLECT_DEBUG char errbuf[ERR_BUF_SIZE]; -#endif - DEBUG("dpdkstat: error in shm_init, %s", + ERROR("dpdkstat: error in shm_init, %s", sstrerror(errno, errbuf, sizeof(errbuf))); return -1; } -- 2.30.2