aboutsummaryrefslogtreecommitdiffstats
path: root/sbin/ggate
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2009-12-28 22:56:30 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2009-12-28 22:56:30 +0000
commit13e403fdeadd26f9748ba83ea50ee271fbfc862a (patch)
tree368556d68241b943dc9c2ec710bd21f97a0e608d /sbin/ggate
parent9189129097632f0cf3dad7c9ac9d69ac39d56b2d (diff)
downloadsrc-13e403fdeadd26f9748ba83ea50ee271fbfc862a.tar.gz
src-13e403fdeadd26f9748ba83ea50ee271fbfc862a.zip
(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.
Fix some wrong usages. Note: this does not affect generated binaries as this argument is not used. PR: 137213 Submitted by: Eygene Ryabinkin (initial version) MFC after: 1 month
Notes
Notes: svn path=/head/; revision=201145
Diffstat (limited to 'sbin/ggate')
-rw-r--r--sbin/ggate/ggated/ggated.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ggate/ggated/ggated.c b/sbin/ggate/ggated/ggated.c
index 52d2428a0528..3b2a0a574c97 100644
--- a/sbin/ggate/ggated/ggated.c
+++ b/sbin/ggate/ggated/ggated.c
@@ -99,8 +99,8 @@ static TAILQ_HEAD(, ggd_request) outqueue = TAILQ_HEAD_INITIALIZER(outqueue);
pthread_mutex_t inqueue_mtx, outqueue_mtx;
pthread_cond_t inqueue_cond, outqueue_cond;
-static SLIST_HEAD(, ggd_export) exports = SLIST_HEAD_INITIALIZER(&exports);
-static LIST_HEAD(, ggd_connection) connections = LIST_HEAD_INITIALIZER(&connection);
+static SLIST_HEAD(, ggd_export) exports = SLIST_HEAD_INITIALIZER(exports);
+static LIST_HEAD(, ggd_connection) connections = LIST_HEAD_INITIALIZER(connections);
static void *recv_thread(void *arg);
static void *disk_thread(void *arg);