diff options
author | alfred <alfred@FreeBSD.org> | 2003-11-15 01:58:47 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2003-11-15 01:58:47 +0000 |
commit | 9059a984da5a6d1794c2cc94bc9ac1a6685f9052 (patch) | |
tree | ca662683fd806548f9a3a6bd1c589cbc26027c7c /sys/rpc | |
parent | 21ec09f9ec2e38774de766656825ba9916662318 (diff) | |
download | FreeBSD-src-9059a984da5a6d1794c2cc94bc9ac1a6685f9052.zip FreeBSD-src-9059a984da5a6d1794c2cc94bc9ac1a6685f9052.tar.gz |
Use %zu to printf a size_t instead of an int cast.
Requested by: jmallett, wollman
Diffstat (limited to 'sys/rpc')
-rw-r--r-- | sys/rpc/rpcclnt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/rpc/rpcclnt.c b/sys/rpc/rpcclnt.c index a0ae12c..70b5adc 100644 --- a/sys/rpc/rpcclnt.c +++ b/sys/rpc/rpcclnt.c @@ -836,9 +836,9 @@ tryagain: } while (error == EWOULDBLOCK); if (!error && auio.uio_resid > 0) { log(LOG_INFO, - "short receive (%d/%d) from rpc server %s\n", - (int) sizeof(u_int32_t) - auio.uio_resid, - (int) sizeof(u_int32_t), + "short receive (%zu/%zu) from rpc server %s\n", + sizeof(u_int32_t) - auio.uio_resid, + sizeof(u_int32_t), rep->r_rpcclnt->rc_prog->prog_name); error = EPIPE; } |