From c2788a84ceb906a3081df72c9a41e036f14cd263 Mon Sep 17 00:00:00 2001 From: beck <> Date: Tue, 24 Jan 2017 10:46:37 +0000 Subject: use warn, I have errno here. noticed by theo --- src/usr.sbin/ocspcheck/ocspcheck.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/usr.sbin/ocspcheck/ocspcheck.c b/src/usr.sbin/ocspcheck/ocspcheck.c index 59b85b8cef..0d6ebee028 100644 --- a/src/usr.sbin/ocspcheck/ocspcheck.c +++ b/src/usr.sbin/ocspcheck/ocspcheck.c @@ -227,7 +227,7 @@ read_fullchain(const char *file, int *count) *count = 0; if ((bio = BIO_new_file(file, "r")) == NULL) { - warnx("Unable to read a certificate from %s", file); + warn("Unable to read a certificate from %s", file); return NULL; } if ((xis = PEM_X509_INFO_read_bio(bio, NULL, NULL, NULL)) == NULL) { -- cgit v1.2.3-55-g6feb