diff options
-rw-r--r-- | net/sunrpc/rpcb_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/rpcb_clnt.c b/net/sunrpc/rpcb_clnt.c index 8cbdc0a2de46..fa5b8f202d5b 100644 --- a/net/sunrpc/rpcb_clnt.c +++ b/net/sunrpc/rpcb_clnt.c | |||
@@ -228,7 +228,7 @@ int rpcb_getport_sync(struct sockaddr_in *sin, u32 prog, u32 vers, int prot) | |||
228 | __FUNCTION__, NIPQUAD(sin->sin_addr.s_addr), prog, vers, prot); | 228 | __FUNCTION__, NIPQUAD(sin->sin_addr.s_addr), prog, vers, prot); |
229 | 229 | ||
230 | rpcb_clnt = rpcb_create(NULL, (struct sockaddr *)sin, | 230 | rpcb_clnt = rpcb_create(NULL, (struct sockaddr *)sin, |
231 | sizeof(sin), prot, 2, 0); | 231 | sizeof(*sin), prot, 2, 0); |
232 | if (IS_ERR(rpcb_clnt)) | 232 | if (IS_ERR(rpcb_clnt)) |
233 | return PTR_ERR(rpcb_clnt); | 233 | return PTR_ERR(rpcb_clnt); |
234 | 234 | ||