summaryrefslogtreecommitdiffstats
path: root/sys/nfs4client/nfs4_socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/nfs4client/nfs4_socket.c')
-rw-r--r--sys/nfs4client/nfs4_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/nfs4client/nfs4_socket.c b/sys/nfs4client/nfs4_socket.c
index e5b2ab8..754ba47 100644
--- a/sys/nfs4client/nfs4_socket.c
+++ b/sys/nfs4client/nfs4_socket.c
@@ -180,7 +180,7 @@ nfs4_connect(struct nfsmount *nmp)
struct thread * td = curthread;
#endif
- MALLOC(auth, struct rpc_auth *, sizeof(struct rpc_auth), M_TEMP, M_WAITOK);
+ auth = malloc(sizeof(struct rpc_auth), M_TEMP, M_WAITOK);
auth->auth_type = RPCAUTH_UNIX;
/* translate nfs flags -> rpcclnt flags */
OpenPOWER on IntegriCloud