dpdkstat: Changed log severity to Error
authorTaras Chornyi <tarasx.chornyi@intel.com>
Mon, 26 Sep 2016 09:37:01 +0000 (10:37 +0100)
committerGitHub <noreply@github.com>
Mon, 26 Sep 2016 09:37:01 +0000 (10:37 +0100)
src/dpdkstat.c

index dc3e7df..145f96b 100644 (file)
@@ -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;
   }