|
@@ -228,7 +228,7 @@ int rpcb_getport_sync(struct sockaddr_in *sin, u32 prog, u32 vers, int prot)
|
|
|
__FUNCTION__, NIPQUAD(sin->sin_addr.s_addr), prog, vers, prot);
|
|
|
|
|
|
rpcb_clnt = rpcb_create(NULL, (struct sockaddr *)sin,
|
|
|
- sizeof(sin), prot, 2, 0);
|
|
|
+ sizeof(*sin), prot, 2, 0);
|
|
|
if (IS_ERR(rpcb_clnt))
|
|
|
return PTR_ERR(rpcb_clnt);
|
|
|
|