diff options
-rw-r--r-- | usr.sbin/ocspcheck/ocspcheck.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ocspcheck/ocspcheck.c b/usr.sbin/ocspcheck/ocspcheck.c index 87d8b747fba..252e8997f73 100644 --- a/usr.sbin/ocspcheck/ocspcheck.c +++ b/usr.sbin/ocspcheck/ocspcheck.c @@ -495,8 +495,9 @@ validate_response(char *buf, size_t size, ocsp_request *request, static void usage(void) { - errx(1, "usage: %s [-Nv] [-C CAfile] [-o staplefile] file", - getprogname()); + fprintf(stderr, + "usage: ocspcheck [-Nv] [-C CAfile] [-o staplefile] file\n"); + exit(1); } int |