diff options
author | antoine <antoine@FreeBSD.org> | 2009-12-28 22:56:30 +0000 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2009-12-28 22:56:30 +0000 |
commit | bfd388c026e6aeb5427df50347b59d62feb3072e (patch) | |
tree | 368556d68241b943dc9c2ec710bd21f97a0e608d /sys/dev/ksyms | |
parent | 2414a09002c0b7080b6044e995d127de758f3e12 (diff) | |
download | FreeBSD-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/dev/ksyms')
-rw-r--r-- | sys/dev/ksyms/ksyms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ksyms/ksyms.c b/sys/dev/ksyms/ksyms.c index fc368c7..bca6448 100644 --- a/sys/dev/ksyms/ksyms.c +++ b/sys/dev/ksyms/ksyms.c @@ -94,7 +94,7 @@ struct ksyms_softc { static struct mtx ksyms_mtx; static struct cdev *ksyms_dev; static LIST_HEAD(, ksyms_softc) ksyms_list = - LIST_HEAD_INITIALIZER(&ksyms_list); + LIST_HEAD_INITIALIZER(ksyms_list); static const char ksyms_shstrtab[] = "\0" STR_SYMTAB "\0" STR_STRTAB "\0" STR_SHSTRTAB "\0"; |