projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32613b1
)
dpdkstat: Changed log severity to Error
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
dc3e7df
..
145f96b
100644
(file)
--- 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;
}