From c11c18858f014c3a91b3ad0ea1bbb3d27d389b68 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 27 Oct 2019 15:39:08 -0600 Subject: [PATCH] fs/nfs/rpc_clnt.c: Fix a typo introduced with bd3cc792ff1b69ad571e8245148119d0f7a7e3bb. --- fs/nfs/rpc_clnt.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fs/nfs/rpc_clnt.c b/fs/nfs/rpc_clnt.c index 6c6799f7cda..279f8fcf1d4 100644 --- a/fs/nfs/rpc_clnt.c +++ b/fs/nfs/rpc_clnt.c @@ -507,7 +507,7 @@ int rpcclnt_connect(struct rpcclnt *rpc) error = rpcclnt_request(rpc, RPCMNT_MOUNT, RPCPROG_MNT, RPCMNT_VER3, (FAR void *)&request.mountd, sizeof(struct call_args_mount), - (FAR void *)&response.mdata + (FAR void *)&response.mdata, sizeof(struct rpc_reply_mount)); if (error != 0) { @@ -545,8 +545,10 @@ int rpcclnt_connect(struct rpcclnt *rpc) request.sdata.pmap.port = 0; error = rpcclnt_request(rpc, PMAPPROC_GETPORT, PMAPPROG, PMAPVERS, - (FAR void *)&request.sdata, sizeof(struct call_args_pmap), - (FAR void *)&response.rdata, sizeof(struct rpc_reply_pmap)); + (FAR void *)&request.sdata, + sizeof(struct call_args_pmap), + (FAR void *)&response.rdata, + sizeof(struct rpc_reply_pmap)); if (error != 0) { ferr("ERROR: rpcclnt_request failed: %d\n", error);