diff options
author | inoguchi <> | 2018-07-17 14:27:22 +0000 |
---|---|---|
committer | inoguchi <> | 2018-07-17 14:27:22 +0000 |
commit | 8fd97874feea08b96620850526a6fac805d56d1c (patch) | |
tree | c321bf625a821cde8ca1e865e3ed5bb9e4f9a9d2 /src | |
parent | d2b47eac36fafcdba21f1ea86363d9e084ead619 (diff) | |
download | openbsd-8fd97874feea08b96620850526a6fac805d56d1c.tar.gz openbsd-8fd97874feea08b96620850526a6fac805d56d1c.tar.bz2 openbsd-8fd97874feea08b96620850526a6fac805d56d1c.zip |
Replace getprogname() to argv[0] in bnaddsub
ok tb@
Diffstat (limited to 'src')
-rw-r--r-- | src/regress/lib/libcrypto/bn/addsub/bnaddsub.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/regress/lib/libcrypto/bn/addsub/bnaddsub.c b/src/regress/lib/libcrypto/bn/addsub/bnaddsub.c index 6c47708718..41bc3371ff 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.1 2018/07/10 16:57:50 tb Exp $ */ | 1 | /* $OpenBSD: bnaddsub.c,v 1.2 2018/07/17 14:27:22 inoguchi Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> | 3 | * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> |
4 | * | 4 | * |
@@ -215,8 +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", | 218 | fprintf(stderr, "%s: failed to initialize bio_err", argv[0]); |
219 | getprogname()); | ||
220 | return 1; | 219 | return 1; |
221 | } | 220 | } |
222 | 221 | ||