aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2018-03-10 18:07:31 +0000
committerAlan Somers <asomers@FreeBSD.org>2018-03-10 18:07:31 +0000
commitf270fabc2ba3bd482d025c2e549704a97101a09e (patch)
tree1045f9dc9a409085c2c148f4b0228be82ccf388f /libexec
parentbe3d357e2374d269bc6d34e09f256db97293c1db (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/tftpd/tests/functional.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/tftpd/tests/functional.c b/libexec/tftpd/tests/functional.c
index fea6870cac59..c467dfee3ba0 100644
--- a/libexec/tftpd/tests/functional.c
+++ b/libexec/tftpd/tests/functional.c
@@ -248,10 +248,10 @@ require_bufeq(const char *expected, ssize_t expected_len, const char *actual,
ssize_t i;
ATF_REQUIRE_EQ_MSG(expected_len, len,
- "Expected %ld bytes but got %ld", expected_len, len);
+ "Expected %zd bytes but got %zd", expected_len, len);
for (i = 0; i < len; i++) {
ATF_REQUIRE_EQ_MSG(actual[i], expected[i],
- "Expected %#hhx at position %ld; got %hhx instead",
+ "Expected %#hhx at position %zd; got %hhx instead",
expected[i], i, actual[i]);
}
}