Fix compilation warnings on sparc.
Cast sizeof to int for printing with %d.
This commit is contained in:
parent
c3521a9fdc
commit
d4346413c3
@ -837,8 +837,8 @@ rpcclnt_receive(rep, aname, mp, td)
|
||||
if (!error && auio.uio_resid > 0) {
|
||||
log(LOG_INFO,
|
||||
"short receive (%d/%d) from rpc server %s\n",
|
||||
sizeof(u_int32_t) - auio.uio_resid,
|
||||
sizeof(u_int32_t),
|
||||
(int) sizeof(u_int32_t) - auio.uio_resid,
|
||||
(int) sizeof(u_int32_t),
|
||||
rep->r_rpcclnt->rc_prog->prog_name);
|
||||
error = EPIPE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user