summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuslan Bukin <br@FreeBSD.org>2016-10-13 15:26:51 +0000
committerRuslan Bukin <br@FreeBSD.org>2016-10-13 15:26:51 +0000
commitc3fa65b1c83d0d9ba05d7898c5cad5c79a8a613c (patch)
treeaa7aacaf1eba0eadae695d0fbdadd94d4e1261b1
parent2302bd3539de9c01e7af51428cea2578c31dd68c (diff)
Notes
-rw-r--r--lib/libc/tests/stdio/printbasic_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/tests/stdio/printbasic_test.c b/lib/libc/tests/stdio/printbasic_test.c
index bebb73427bb3..7f7c6cbbd65c 100644
--- a/lib/libc/tests/stdio/printbasic_test.c
+++ b/lib/libc/tests/stdio/printbasic_test.c
@@ -124,10 +124,10 @@ ATF_TC_BODY(int_within_limits, tc)
testfmt(S_ULONGMAX, "%lu", ULONG_MAX);
testfmt("-1", "%lld", (long long)-1);
- testfmt(S_ULONGMAX, "%lu", ULLONG_MAX);
+ testfmt(S_ULLONGMAX, "%llu", ULLONG_MAX);
testfmt("-1", "%d", -1);
- testfmt(S_UINT32MAX, "%lu", UINT32_MAX);
+ testfmt(S_UINT32MAX, "%u", UINT32_MAX);
testfmt("-1", "%hd", -1);
testfmt("65535", "%hu", USHRT_MAX);