summaryrefslogtreecommitdiffstats
path: root/sys/netinet/libalias
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2009-12-28 22:56:30 +0000
committerantoine <antoine@FreeBSD.org>2009-12-28 22:56:30 +0000
commitbfd388c026e6aeb5427df50347b59d62feb3072e (patch)
tree368556d68241b943dc9c2ec710bd21f97a0e608d /sys/netinet/libalias
parent2414a09002c0b7080b6044e995d127de758f3e12 (diff)
downloadFreeBSD-src-bfd388c026e6aeb5427df50347b59d62feb3072e.zip
FreeBSD-src-bfd388c026e6aeb5427df50347b59d62feb3072e.tar.gz
(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
Diffstat (limited to 'sys/netinet/libalias')
-rw-r--r--sys/netinet/libalias/alias_mod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/libalias/alias_mod.c b/sys/netinet/libalias/alias_mod.c
index 2713137..b2576da 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
OpenPOWER on IntegriCloud