From: Taras Chornyi Date: Mon, 26 Sep 2016 09:37:01 +0000 (+0100) Subject: dpdkstat: Changed log severity to Error X-Git-Tag: collectd-5.7.0~66^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8ee1b1fa78aed822c397916ec69cd9365a3a8456;p=collectd.git dpdkstat: Changed log severity to Error --- 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; }