diff options
author | emaste <emaste@FreeBSD.org> | 2012-11-19 22:46:17 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2012-11-19 22:46:17 +0000 |
commit | 2125cd9a3573806f55ee11cd7b9bef24071899de (patch) | |
tree | 0486b52624449defaffc2dec4b7da141160bb237 /tools | |
parent | b9a061c88d92d734df24193d90dc1a6fb80dca38 (diff) | |
download | FreeBSD-src-2125cd9a3573806f55ee11cd7b9bef24071899de.zip FreeBSD-src-2125cd9a3573806f55ee11cd7b9bef24071899de.tar.gz |
Use '%zd' printf format for ssize_t.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/sockets/sigpipe/sigpipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/regression/sockets/sigpipe/sigpipe.c b/tools/regression/sockets/sigpipe/sigpipe.c index 0422576..641536a 100644 --- a/tools/regression/sockets/sigpipe/sigpipe.c +++ b/tools/regression/sockets/sigpipe/sigpipe.c @@ -97,7 +97,7 @@ test_send(const char *testname, int sock) return; err(-1, "%s: send", testname); } - errx(-1, "%s: send: returned %d", testname, len); + errx(-1, "%s: send: returned %zd", testname, len); } static void @@ -113,7 +113,7 @@ test_write(const char *testname, int sock) return; err(-1, "%s: write", testname); } - errx(-1, "%s: write: returned %d", testname, len); + errx(-1, "%s: write: returned %zd", testname, len); } static void |