aboutsummaryrefslogtreecommitdiff
path: root/lib/libgssapi/gss_mech_switch.c
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 /lib/libgssapi/gss_mech_switch.c
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 'lib/libgssapi/gss_mech_switch.c')
-rw-r--r--lib/libgssapi/gss_mech_switch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libgssapi/gss_mech_switch.c b/lib/libgssapi/gss_mech_switch.c
index feb88f1a68c8..d07db8865d3f 100644
--- a/lib/libgssapi/gss_mech_switch.c
+++ b/lib/libgssapi/gss_mech_switch.c
@@ -42,7 +42,7 @@
#endif
struct _gss_mech_switch_list _gss_mechs =
- SLIST_HEAD_INITIALIZER(&_gss_mechs);
+ SLIST_HEAD_INITIALIZER(_gss_mechs);
gss_OID_set _gss_mech_oids;
/*