summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2018-07-23 17:15:21 +0000
committertb <>2018-07-23 17:15:21 +0000
commitfb1ea7d5b11c8731d8534f5de7a41ab7569aae30 (patch)
treee18317e0af2e11df21c8819324622c1670c16873 /src
parent4b35208c32b36cc82a2be9812f1a22cd083ca65f (diff)
downloadopenbsd-fb1ea7d5b11c8731d8534f5de7a41ab7569aae30.tar.gz
openbsd-fb1ea7d5b11c8731d8534f5de7a41ab7569aae30.tar.bz2
openbsd-fb1ea7d5b11c8731d8534f5de7a41ab7569aae30.zip
avoid using argv[0] for printing to stderr
Diffstat (limited to 'src')
-rw-r--r--src/regress/lib/libcrypto/bn/addsub/bnaddsub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/bn/addsub/bnaddsub.c b/src/regress/lib/libcrypto/bn/addsub/bnaddsub.c
index 41bc3371ff..e23821ed2b 100644
--- a/src/regress/lib/libcrypto/bn/addsub/bnaddsub.c
+++ b/src/regress/lib/libcrypto/bn/addsub/bnaddsub.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bnaddsub.c,v 1.2 2018/07/17 14:27:22 inoguchi Exp $ */ 1/* $OpenBSD: bnaddsub.c,v 1.3 2018/07/23 17:15:21 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> 3 * Copyright (c) 2018 Theo Buehler <tb@openbsd.org>
4 * 4 *
@@ -215,7 +215,7 @@ main(int argc, char *argv[])
215 int failed = 0; 215 int failed = 0;
216 216
217 if ((bio_err = BIO_new_fp(stderr, BIO_NOCLOSE)) == NULL) { 217 if ((bio_err = BIO_new_fp(stderr, BIO_NOCLOSE)) == NULL) {
218 fprintf(stderr, "%s: failed to initialize bio_err", argv[0]); 218 fprintf(stderr, "bnaddsub: failed to initialize bio_err");
219 return 1; 219 return 1;
220 } 220 }
221 221