summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 32613b1)
raw | patch | inline | side by side (parent: 32613b1)
author | Taras Chornyi <tarasx.chornyi@intel.com> | |
Mon, 26 Sep 2016 09:37:01 +0000 (10:37 +0100) | ||
committer | GitHub <noreply@github.com> | |
Mon, 26 Sep 2016 09:37:01 +0000 (10:37 +0100) |
src/dpdkstat.c | patch | blob | history |
diff --git a/src/dpdkstat.c b/src/dpdkstat.c
index dc3e7dfd4b58e749f29e954a9e79b58ce6556156..145f96b7c7a09eacdd4c0516bc3a3ca31cf1b852 100644 (file)
--- a/src/dpdkstat.c
+++ b/src/dpdkstat.c
*/
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;
}