From: Ronnie Sahlberg Date: Thu, 12 Jan 2012 04:56:02 +0000 (+1100) Subject: rpc_nfs_create_async, args is now a pointer, not a structur X-Git-Tag: upstream/1.9.6^2~271 X-Git-Url: https://git.piment-noir.org/?p=deb_libnfs.git;a=commitdiff_plain;h=bac0bc540430b02bfd68940c123242c51b477bac rpc_nfs_create_async, args is now a pointer, not a structur so we shouldnt take the address of it --- diff --git a/nfs/nfs.c b/nfs/nfs.c index 5945252..ccbd2c1 100644 --- a/nfs/nfs.c +++ b/nfs/nfs.c @@ -421,7 +421,7 @@ int rpc_nfs_create_async(struct rpc_context *rpc, rpc_cb cb, CREATE3args *args, return -1; } - if (xdr_CREATE3args(&pdu->xdr, &args) == 0) { + if (xdr_CREATE3args(&pdu->xdr, args) == 0) { rpc_set_error(rpc, "XDR error: Failed to encode CREATE3args"); rpc_free_pdu(rpc, pdu); return -2;