projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c6f7a1
)
dpdkstat plugin: jump to the right label
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Sun, 5 Feb 2017 19:40:33 +0000
(19:40 +0000)
committer
Sebastian Andrzej Siewior
<sebastian@breakpoint.cc>
Sun, 5 Feb 2017 19:40:33 +0000
(19:40 +0000)
Gbp-Pq: Name dpdkstat_goto_label.patch
src/dpdkstat.c
patch
|
blob
|
history
diff --git
a/src/dpdkstat.c
b/src/dpdkstat.c
index 2686be1519943a72d5ca9f005a33bb16d66f929b..d1383458d6cd683f8a674ac53591aaf786e6a8ef 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;