summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/ocspcheck/ocspcheck.c2
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) {