git: 4814dbd3c0e6 - stable/13 - rpcsec_gss: Use a designated initializer for rpc_gss_ops
Mark Johnston
markj at FreeBSD.org
Wed Jun 2 13:35:38 UTC 2021
The branch stable/13 has been updated by markj:
URL: https://cgit.FreeBSD.org/src/commit/?id=4814dbd3c0e6fc02014f145bd54b3b854162e4e4
commit 4814dbd3c0e6fc02014f145bd54b3b854162e4e4
Author: Mark Johnston <markj at FreeBSD.org>
AuthorDate: 2021-05-26 14:14:35 +0000
Commit: Mark Johnston <markj at FreeBSD.org>
CommitDate: 2021-06-02 13:34:41 +0000
rpcsec_gss: Use a designated initializer for rpc_gss_ops
No functional change intended.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
(cherry picked from commit ba5bc6e8f9cb9c523d09599d7290a6d75ec9fd8b)
---
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 {
More information about the dev-commits-src-all
mailing list