diff options
| author | Antoine Brodin <antoine@FreeBSD.org> | 2010-01-30 12:11:21 +0000 |
|---|---|---|
| committer | Antoine Brodin <antoine@FreeBSD.org> | 2010-01-30 12:11:21 +0000 |
| commit | e2b36efde5fd60df4195a726045f06e2feb6de5e (patch) | |
| tree | 0428caa194477848d7ded485aef89b371b9ecf37 /sys/netinet | |
| parent | 6d41eae028e76358093cf450b69369ef0b9f973f (diff) | |
Notes
Diffstat (limited to 'sys/netinet')
| -rw-r--r-- | sys/netinet/ip_encap.c | 2 | ||||
| -rw-r--r-- | sys/netinet/libalias/alias_mod.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_encap.c b/sys/netinet/ip_encap.c index 0efd22aaf0d9..ce1319d447ef 100644 --- a/sys/netinet/ip_encap.c +++ b/sys/netinet/ip_encap.c @@ -103,7 +103,7 @@ static void encap_fillarg(struct mbuf *, const struct encaptab *); */ static struct mtx encapmtx; MTX_SYSINIT(encapmtx, &encapmtx, "encapmtx", MTX_DEF); -LIST_HEAD(, encaptab) encaptab = LIST_HEAD_INITIALIZER(&encaptab); +LIST_HEAD(, encaptab) encaptab = LIST_HEAD_INITIALIZER(encaptab); /* * We currently keey encap_init() for source code compatibility reasons -- diff --git a/sys/netinet/libalias/alias_mod.c b/sys/netinet/libalias/alias_mod.c index 2713137ec20c..b2576da6be6a 100644 --- a/sys/netinet/libalias/alias_mod.c +++ b/sys/netinet/libalias/alias_mod.c @@ -52,11 +52,11 @@ __FBSDID("$FreeBSD$"); #endif /* Protocol and userland module handlers chains. */ -LIST_HEAD(handler_chain, proto_handler) handler_chain = LIST_HEAD_INITIALIZER(foo); +LIST_HEAD(handler_chain, proto_handler) handler_chain = LIST_HEAD_INITIALIZER(handler_chain); #ifdef _KERNEL struct rwlock handler_rw; #endif -SLIST_HEAD(dll_chain, dll) dll_chain = SLIST_HEAD_INITIALIZER(foo); +SLIST_HEAD(dll_chain, dll) dll_chain = SLIST_HEAD_INITIALIZER(dll_chain); #ifdef _KERNEL |
