diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2017-01-24 10:46:38 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2017-01-24 10:46:38 +0000 |
commit | 57c73fd87ed21e8a7eb2c3b902046cbd9f1d74a3 (patch) | |
tree | ca20ef0452e4d672143bfb9d8837a075fe4a53a8 | |
parent | 300fd47a91c91f4d21bc7a6e361f4859bad282ad (diff) |
use warn, I have errno here. noticed by theo
-rw-r--r-- | usr.sbin/ocspcheck/ocspcheck.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ocspcheck/ocspcheck.c b/usr.sbin/ocspcheck/ocspcheck.c index 59b85b8cef1..0d6ebee028c 100644 --- a/usr.sbin/ocspcheck/ocspcheck.c +++ b/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) { |