From b6d478c2159bb1baed034fc031a43742d5db0298 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Wed, 15 Sep 2010 14:40:19 -0400 Subject: [PATCH] libafs: Fix compile errors in afs_nfsclnt.c - tokenUnion is a union, not a struct - 'struct rxkadToken' typo - 'tokenPtr' not 'tokenptr' Change-Id: I7e0fa4f2d34ba4bd68345e9625f40d1d7301411e Reviewed-on: http://gerrit.openafs.org/2764 Tested-by: Andrew Deason Tested-by: BuildBot Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear --- src/afs/afs_nfsclnt.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/afs/afs_nfsclnt.c b/src/afs/afs_nfsclnt.c index 612a97366..e13f2c7e5 100644 --- a/src/afs/afs_nfsclnt.c +++ b/src/afs/afs_nfsclnt.c @@ -306,8 +306,8 @@ afs_nfsclient_getcreds(struct unixuser *au) struct nfsclientpag *np = (struct nfsclientpag *)(au->exporter); struct rx_securityClass *csec; struct rx_connection *tconn; - struct tokenUnion *tokenPtr; - struct rkxadToken *token; + union tokenUnion *tokenPtr; + struct rxkadToken *token; SysNameList tsysnames; CredInfos tcreds; CredInfo *tcred; @@ -384,8 +384,8 @@ afs_nfsclient_getcreds(struct unixuser *au) /* Add a new rxkad token. Using the afs_AddRxkadToken interface * would require another copy, so we do this the hard way */ - tokenptr = afs_AddToken(&tu->tokens, 2); - token = &tokenptr->rxkad; + tokenPtr = afs_AddToken(&tu->tokens, 2); + token = &tokenPtr->rxkad; token->ticket = tcred->st.st_val; token->ticketLen = tcred->st.st_len; -- 2.39.5