diff options
author | antoine <antoine@FreeBSD.org> | 2010-01-30 12:11:21 +0000 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2010-01-30 12:11:21 +0000 |
commit | ade3e629421f12a6799785d918a77632dfae157a (patch) | |
tree | 0428caa194477848d7ded485aef89b371b9ecf37 /sys/rpc/rpcsec_gss | |
parent | 589e3abff16854bde53b22f69dca3429dc087662 (diff) | |
download | FreeBSD-src-ade3e629421f12a6799785d918a77632dfae157a.zip FreeBSD-src-ade3e629421f12a6799785d918a77632dfae157a.tar.gz |
MFC r201145 to stable/8:
(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)
Diffstat (limited to 'sys/rpc/rpcsec_gss')
-rw-r--r-- | sys/rpc/rpcsec_gss/svc_rpcsec_gss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c b/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c index b6e328e..55c0a83 100644 --- a/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c +++ b/sys/rpc/rpcsec_gss/svc_rpcsec_gss.c @@ -100,7 +100,7 @@ struct svc_rpc_gss_callback { rpc_gss_callback_t cb_callback; }; static SLIST_HEAD(svc_rpc_gss_callback_list, svc_rpc_gss_callback) - svc_rpc_gss_callbacks = SLIST_HEAD_INITIALIZER(&svc_rpc_gss_callbacks); + svc_rpc_gss_callbacks = SLIST_HEAD_INITIALIZER(svc_rpc_gss_callbacks); struct svc_rpc_gss_svc_name { SLIST_ENTRY(svc_rpc_gss_svc_name) sn_link; @@ -112,7 +112,7 @@ struct svc_rpc_gss_svc_name { u_int sn_version; }; static SLIST_HEAD(svc_rpc_gss_svc_name_list, svc_rpc_gss_svc_name) - svc_rpc_gss_svc_names = SLIST_HEAD_INITIALIZER(&svc_rpc_gss_svc_names); + svc_rpc_gss_svc_names = SLIST_HEAD_INITIALIZER(svc_rpc_gss_svc_names); enum svc_rpc_gss_client_state { CLIENT_NEW, /* still authenticating */ |