summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e60fc45)
raw | patch | inline | side by side (parent: e60fc45)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 17 Dec 2016 17:50:58 +0000 (18:50 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 17 Dec 2016 17:50:58 +0000 (18:50 +0100) |
CID #158525
src/dpdkstat.c | patch | blob | history |
diff --git a/src/dpdkstat.c b/src/dpdkstat.c
index de75c0c09c430107ef21a53ebb36db63b5288a7f..18725adae748efaaaba6d7d63881754f0077e91b 100644 (file)
--- a/src/dpdkstat.c
+++ b/src/dpdkstat.c
if (err) {
ERROR("dpdkstat semaphore init failed: %s",
sstrerror(errno, errbuf, sizeof(errbuf)));
- goto fail_close;
+ goto close;
}
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 fail_close;
+ goto close;
}
g_configuration->xstats = NULL;