diff options
author | emaste <emaste@FreeBSD.org> | 2012-11-19 23:07:38 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2012-11-19 23:07:38 +0000 |
commit | 7f1a5459c2b85c2af1a31812494e65f4ecb82224 (patch) | |
tree | 08f1fc30440f491630165775bffb55960ded9bbe /tools/regression/netinet | |
parent | f4e10b2c3f3e7aede1921d86c10e6fc3aab9e6b9 (diff) | |
download | FreeBSD-src-7f1a5459c2b85c2af1a31812494e65f4ecb82224.zip FreeBSD-src-7f1a5459c2b85c2af1a31812494e65f4ecb82224.tar.gz |
Use '%zu' and '%zd' as appropriate for size_t / ssize_t.
Diffstat (limited to 'tools/regression/netinet')
-rw-r--r-- | tools/regression/netinet/udpzerobyte/udpzerobyte.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/netinet/udpzerobyte/udpzerobyte.c b/tools/regression/netinet/udpzerobyte/udpzerobyte.c index c396fc8..c191492 100644 --- a/tools/regression/netinet/udpzerobyte/udpzerobyte.c +++ b/tools/regression/netinet/udpzerobyte/udpzerobyte.c @@ -80,7 +80,7 @@ test(int domain, const char *domainstr, struct sockaddr *sa, socklen_t salen) size = recv(sock_receive, NULL, 0, 0); if (size > 0) - errx(-1, "Protocol %s recv(sock_receive, NULL, 0) before: %d", + errx(-1, "Protocol %s recv(sock_receive, NULL, 0) before: %zd", domainstr, size); else if (size < 0) err(-1, "Protocol %s recv(sock_receive, NULL, 0) before", @@ -98,7 +98,7 @@ test(int domain, const char *domainstr, struct sockaddr *sa, socklen_t salen) size = recv(sock_receive, NULL, 0, 0); if (size > 0) - errx(-1, "Protocol %s recv(sock_receive, NULL, 0) after: %d", + errx(-1, "Protocol %s recv(sock_receive, NULL, 0) after: %zd", domainstr, size); else if (size < 0) err(-1, "Protocol %s recv(sock_receive, NULL, 0) after", |