From ba5bc6e8f9cb9c523d09599d7290a6d75ec9fd8b Mon Sep 17 00:00:00 2001 From: Mark Johnston Date: Wed, 26 May 2021 10:14:35 -0400 Subject: [PATCH] rpcsec_gss: Use a designated initializer for rpc_gss_ops No functional change intended. MFC after: 1 week Sponsored by: The FreeBSD Foundation --- sys/rpc/rpcsec_gss/rpcsec_gss.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys/rpc/rpcsec_gss/rpcsec_gss.c b/sys/rpc/rpcsec_gss/rpcsec_gss.c index 2eef1544b61a..b384a8347ef5 100644 --- a/sys/rpc/rpcsec_gss/rpcsec_gss.c +++ b/sys/rpc/rpcsec_gss/rpcsec_gss.c @@ -98,11 +98,11 @@ static void rpc_gss_destroy(AUTH *); static void rpc_gss_destroy_context(AUTH *, bool_t); static struct auth_ops rpc_gss_ops = { - rpc_gss_nextverf, - rpc_gss_marshal, - rpc_gss_validate, - rpc_gss_refresh, - rpc_gss_destroy, + .ah_nextverf = rpc_gss_nextverf, + .ah_marshal = rpc_gss_marshal, + .ah_validate = rpc_gss_validate, + .ah_refresh = rpc_gss_refresh, + .ah_destroy = rpc_gss_destroy, }; enum rpcsec_gss_state {