projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added library link check and addressed review comments
[collectd.git]
/
src
/
dpdkstat.c
diff --git
a/src/dpdkstat.c
b/src/dpdkstat.c
index
b831311
..
134801b
100644
(file)
--- a/
src/dpdkstat.c
+++ b/
src/dpdkstat.c
@@
-125,7
+125,6
@@
static int dpdk_stats_preinit(void) {
int ret = dpdk_helper_init(g_shm_name, sizeof(dpdk_stats_ctx_t), &g_hc);
if (ret != 0) {
int ret = dpdk_helper_init(g_shm_name, sizeof(dpdk_stats_ctx_t), &g_hc);
if (ret != 0) {
- char errbuf[ERR_BUF_SIZE];
ERROR("%s: failed to initialize %s helper(error: %s)", DPDK_STATS_PLUGIN,
g_shm_name, STRERRNO);
return ret;
ERROR("%s: failed to initialize %s helper(error: %s)", DPDK_STATS_PLUGIN,
g_shm_name, STRERRNO);
return ret;
@@
-446,7
+445,6
@@
static int dpdk_stats_reinit_helper() {
int ret;
ret = dpdk_helper_init(g_shm_name, data_size, &g_hc);
if (ret != 0) {
int ret;
ret = dpdk_helper_init(g_shm_name, data_size, &g_hc);
if (ret != 0) {
- char errbuf[ERR_BUF_SIZE];
ERROR("%s: failed to initialize %s helper(error: %s)", DPDK_STATS_PLUGIN,
g_shm_name, STRERRNO);
return ret;
ERROR("%s: failed to initialize %s helper(error: %s)", DPDK_STATS_PLUGIN,
g_shm_name, STRERRNO);
return ret;