diff options
author | Kinichiro Inoguchi <inoguchi@cvs.openbsd.org> | 2018-07-17 14:27:23 +0000 |
---|---|---|
committer | Kinichiro Inoguchi <inoguchi@cvs.openbsd.org> | 2018-07-17 14:27:23 +0000 |
commit | f1418c24dd7cc59969f5fec1591a80b25f5e6481 (patch) | |
tree | c5f0d2c67782e2b568386b11d9d0bcdca1febad0 /regress/lib/libcrypto/bn | |
parent | 6d8e041848f613f7cef5f76200e387acf2e54d39 (diff) |
Replace getprogname() to argv[0] in bnaddsub
ok tb@
Diffstat (limited to 'regress/lib/libcrypto/bn')
-rw-r--r-- | regress/lib/libcrypto/bn/addsub/bnaddsub.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/regress/lib/libcrypto/bn/addsub/bnaddsub.c b/regress/lib/libcrypto/bn/addsub/bnaddsub.c index 6c477087184..41bc3371ff6 100644 --- 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.1 2018/07/10 16:57:50 tb Exp $ */ +/* $OpenBSD: bnaddsub.c,v 1.2 2018/07/17 14:27:22 inoguchi Exp $ */ /* * Copyright (c) 2018 Theo Buehler <tb@openbsd.org> * @@ -215,8 +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", - getprogname()); + fprintf(stderr, "%s: failed to initialize bio_err", argv[0]); return 1; } |