Fix compilation warnings on sparc.

Cast sizeof to int for printing with %d.
This commit is contained in:
Alfred Perlstein 2003-11-15 01:24:46 +00:00
parent c3521a9fdc
commit d4346413c3

View File

@ -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;
}