From 093c3e8ed8b4d97e56d6f66c4c6c48f1b1928207 Mon Sep 17 00:00:00 2001 From: kettenis <> Date: Sun, 16 Apr 2017 14:40:47 +0000 Subject: Use %zu to print a size_t. --- src/regress/usr.bin/openssl/options/optionstest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/regress/usr.bin/openssl/options/optionstest.c b/src/regress/usr.bin/openssl/options/optionstest.c index fe66a2d711..17c2e1af78 100644 --- a/src/regress/usr.bin/openssl/options/optionstest.c +++ b/src/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]); } -- cgit v1.2.3-55-g6feb