artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ee9a07
)
avoid using argv[0] for printing to stderr
author
tb
<tb@openbsd.org>
Mon, 23 Jul 2018 17:15:21 +0000
(17:15 +0000)
committer
tb
<tb@openbsd.org>
Mon, 23 Jul 2018 17:15:21 +0000
(17:15 +0000)
regress/lib/libcrypto/bn/addsub/bnaddsub.c
patch
|
blob
|
history
diff --git
a/regress/lib/libcrypto/bn/addsub/bnaddsub.c
b/regress/lib/libcrypto/bn/addsub/bnaddsub.c
index
41bc337
..
e23821e
100644
(file)
--- a/
regress/lib/libcrypto/bn/addsub/bnaddsub.c
+++ b/
regress/lib/libcrypto/bn/addsub/bnaddsub.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: bnaddsub.c,v 1.
2 2018/07/17 14:27:22 inoguchi Exp $
*/
+/* $OpenBSD: bnaddsub.c,v 1.
3 2018/07/23 17:15:21 tb Exp $
*/
/*
* Copyright (c) 2018 Theo Buehler <tb@openbsd.org>
*
@@
-215,7
+215,7
@@
main(int argc, char *argv[])
int failed = 0;
if ((bio_err = BIO_new_fp(stderr, BIO_NOCLOSE)) == NULL) {
- fprintf(stderr, "
%s: failed to initialize bio_err", argv[0]
);
+ fprintf(stderr, "
bnaddsub: failed to initialize bio_err"
);
return 1;
}