diff options
author | 2017-04-16 14:40:47 +0000 | |
---|---|---|
committer | 2017-04-16 14:40:47 +0000 | |
commit | e4ba687df1aa5ad979549161b254b79fc024d7e2 (patch) | |
tree | 5b92a29182ef92d10b946b586827a4b81ed88257 | |
parent | Replace fetch_and_add() with atomic_inc_int_nv() from <sys/atomic.h> (diff) | |
download | wireguard-openbsd-e4ba687df1aa5ad979549161b254b79fc024d7e2.tar.xz wireguard-openbsd-e4ba687df1aa5ad979549161b254b79fc024d7e2.zip |
Use %zu to print a size_t.
-rw-r--r-- | regress/usr.bin/openssl/options/optionstest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/openssl/options/optionstest.c b/regress/usr.bin/openssl/options/optionstest.c index fe66a2d711f..17c2e1af780 100644 --- 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]); } |