projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b05cf4
)
dpdkstat plugin: jump to the right label
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 23 Dec 2016 17:47:59 +0000
(18:47 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 23 Dec 2016 17:47:59 +0000
(18:47 +0100)
src/dpdkstat.c
patch
|
blob
|
history
diff --git
a/src/dpdkstat.c
b/src/dpdkstat.c
index
2686be1
..
d138345
100644
(file)
--- a/
src/dpdkstat.c
+++ b/
src/dpdkstat.c
@@
-289,13
+289,13
@@
static int dpdk_shm_init(size_t size) {
if (err) {
ERROR("dpdkstat semaphore init failed: %s",
sstrerror(errno, errbuf, sizeof(errbuf)));
- goto
close
;
+ goto
fail
;
}
err = sem_init(&g_configuration->sema_stats_in_shm, 1, 0);
if (err) {
ERROR("dpdkstat semaphore init failed: %s",
sstrerror(errno, errbuf, sizeof(errbuf)));
- goto
close
;
+ goto
fail
;
}
g_configuration->xstats = NULL;