summaryrefslogtreecommitdiff
path: root/src/regress/lib
diff options
context:
space:
mode:
authortb <>2022-11-22 09:09:43 +0000
committertb <>2022-11-22 09:09:43 +0000
commitcc7039555f92f1d97380625f47b606fdcaeab60f (patch)
treef0696aa1fb65026d0ef0717b9d85e8b8cbb9f77f /src/regress/lib
parent9c50555c2294ad95d99b791be9ddbf6026fa2dc2 (diff)
downloadopenbsd-cc7039555f92f1d97380625f47b606fdcaeab60f.tar.gz
openbsd-cc7039555f92f1d97380625f47b606fdcaeab60f.tar.bz2
openbsd-cc7039555f92f1d97380625f47b606fdcaeab60f.zip
Tweak a printf.
Diffstat (limited to 'src/regress/lib')
-rw-r--r--src/regress/lib/libcrypto/bn/general/bn_unit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/bn/general/bn_unit.c b/src/regress/lib/libcrypto/bn/general/bn_unit.c
index fefbded107..06df91751a 100644
--- a/src/regress/lib/libcrypto/bn/general/bn_unit.c
+++ b/src/regress/lib/libcrypto/bn/general/bn_unit.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bn_unit.c,v 1.1 2022/11/22 08:56:33 tb Exp $ */ 1/* $OpenBSD: bn_unit.c,v 1.2 2022/11/22 09:09:43 tb Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2022 Theo Buehler <tb@openbsd.org> 4 * Copyright (c) 2022 Theo Buehler <tb@openbsd.org>
@@ -54,8 +54,8 @@ test_bn_print_null_derefs(void)
54 err(1, "getrlimit"); 54 err(1, "getrlimit");
55 55
56 if ((rlimit.rlim_cur + 1023) / 1024 < datalimit) { 56 if ((rlimit.rlim_cur + 1023) / 1024 < datalimit) {
57 printf("%s: Insufficient data limit\n", __func__); 57 printf("%s: insufficient data limit. Need more than %zu KiB\n",
58 printf("Need more than %zu kB\n", datalimit); 58 __func__, datalimit);
59 printf("SKIPPED\n"); 59 printf("SKIPPED\n");
60 return 0; 60 return 0;
61 } 61 }