From 8af032af4fd2ca6ae7f38b9a794159fb6e007d0b Mon Sep 17 00:00:00 2001 From: tb Date: Mon, 23 Jul 2018 17:15:21 +0000 Subject: [PATCH] avoid using argv[0] for printing to stderr --- regress/lib/libcrypto/bn/addsub/bnaddsub.c | 4 ++-- 1 file 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 * @@ -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; } -- 2.20.1