summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_accf.c
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/kern/uipc_accf.c
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/kern/uipc_accf.c')
-rw-r--r--sys/kern/uipc_accf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/uipc_accf.c b/sys/kern/uipc_accf.c
index 102c04f..236b60d 100644
--- a/sys/kern/uipc_accf.c
+++ b/sys/kern/uipc_accf.c
@@ -54,7 +54,7 @@ MTX_SYSINIT(accept_filter, &accept_filter_mtx, "accept_filter_mtx",
#define ACCEPT_FILTER_UNLOCK() mtx_unlock(&accept_filter_mtx)
static SLIST_HEAD(, accept_filter) accept_filtlsthd =
- SLIST_HEAD_INITIALIZER(&accept_filtlsthd);
+ SLIST_HEAD_INITIALIZER(accept_filtlsthd);
MALLOC_DEFINE(M_ACCF, "accf", "accept filter data");
OpenPOWER on IntegriCloud