diff options
author | alfred <alfred@FreeBSD.org> | 2003-11-15 01:24:46 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2003-11-15 01:24:46 +0000 |
commit | 6763fe0b2043dc81399526e70421e979bbfee7b3 (patch) | |
tree | b789e0f7c349d34fbb034fff2b44d81f5e6e0fcb | |
parent | 46a88bfba8f9e89a3bdd4d48e7f21bfb9de99f20 (diff) | |
download | FreeBSD-src-6763fe0b2043dc81399526e70421e979bbfee7b3.zip FreeBSD-src-6763fe0b2043dc81399526e70421e979bbfee7b3.tar.gz |
Fix compilation warnings on sparc.
Cast sizeof to int for printing with %d.
-rw-r--r-- | sys/rpc/rpcclnt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/rpc/rpcclnt.c b/sys/rpc/rpcclnt.c index 4f61f29..a0ae12c 100644 --- a/sys/rpc/rpcclnt.c +++ b/sys/rpc/rpcclnt.c @@ -837,8 +837,8 @@ tryagain: 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; } |