From 66f807ed8b3634dc73d9f7526c484e43f094c0ee Mon Sep 17 00:00:00 2001 From: des Date: Thu, 23 Oct 2008 15:53:51 +0000 Subject: Retire the MALLOC and FREE macros. They are an abomination unto style(9). MFC after: 3 months --- sys/nfs4client/nfs4_socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/nfs4client/nfs4_socket.c') 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 */ -- cgit v1.1