diff options
author | 2018-07-23 17:15:21 +0000 | |
---|---|---|
committer | 2018-07-23 17:15:21 +0000 | |
commit | 8af032af4fd2ca6ae7f38b9a794159fb6e007d0b (patch) | |
tree | 442ebc27218f160023f815ea7231b503b4af4e8d | |
parent | add _rad user (diff) | |
download | wireguard-openbsd-8af032af4fd2ca6ae7f38b9a794159fb6e007d0b.tar.xz wireguard-openbsd-8af032af4fd2ca6ae7f38b9a794159fb6e007d0b.zip |
avoid using argv[0] for printing to stderr
-rw-r--r-- | regress/lib/libcrypto/bn/addsub/bnaddsub.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libcrypto/bn/addsub/bnaddsub.c b/regress/lib/libcrypto/bn/addsub/bnaddsub.c index 41bc3371ff6..e23821ed2b0 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.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; } |