diff options
author | jhb <jhb@FreeBSD.org> | 2005-05-31 20:01:58 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-05-31 20:01:58 +0000 |
commit | 1321d1acd59c97c3c2dae9fe21faa1142f91871a (patch) | |
tree | f4d9f60bade3ec3121e8a03d24d7f6453d54dfc7 /lib/libstand/net.c | |
parent | 6e02a9d126bc759762d46fa9aaf9c986eb57cd35 (diff) | |
download | FreeBSD-src-1321d1acd59c97c3c2dae9fe21faa1142f91871a.zip FreeBSD-src-1321d1acd59c97c3c2dae9fe21faa1142f91871a.tar.gz |
Use %z to print size_t values.
Diffstat (limited to 'lib/libstand/net.c')
-rw-r--r-- | lib/libstand/net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/net.c b/lib/libstand/net.c index 89ef12d..77cf891 100644 --- a/lib/libstand/net.c +++ b/lib/libstand/net.c @@ -101,7 +101,7 @@ sendrecv(d, sproc, sbuf, ssize, rproc, rbuf, rsize) } cc = (*sproc)(d, sbuf, ssize); if (cc != -1 && cc < ssize) - panic("sendrecv: short write! (%d < %d)", + panic("sendrecv: short write! (%zd < %zd)", cc, ssize); tleft = tmo; |