artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e6185f
)
Use %zu to print a size_t.
author
kettenis
<kettenis@openbsd.org>
Sun, 16 Apr 2017 14:40:47 +0000
(14:40 +0000)
committer
kettenis
<kettenis@openbsd.org>
Sun, 16 Apr 2017 14:40:47 +0000
(14:40 +0000)
regress/usr.bin/openssl/options/optionstest.c
patch
|
blob
|
history
diff --git
a/regress/usr.bin/openssl/options/optionstest.c
b/regress/usr.bin/openssl/options/optionstest.c
index
fe66a2d
..
17c2e1a
100644
(file)
--- a/
regress/usr.bin/openssl/options/optionstest.c
+++ b/
regress/usr.bin/openssl/options/optionstest.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: optionstest.c,v 1.
8 2015/01/22 05:48:00 doug Exp $
*/
+/* $OpenBSD: optionstest.c,v 1.
9 2017/04/16 14:40:47 kettenis Exp $
*/
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@
-371,7
+371,7
@@
main(int argc, char **argv)
size_t i;
for (i = 0; i < N_OPTIONS_TESTS; i++) {
- printf("Test %
d
%s\n", (i + 1), options_tests[i].want == 0 ?
+ printf("Test %
zu
%s\n", (i + 1), options_tests[i].want == 0 ?
"" : " is expected to complain");
failed += do_options_test(i + 1, &options_tests[i]);
}