diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-01-24 12:44:41 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-01-24 12:44:41 +0000 |
commit | 238a1e54776264285b264abe72f79d4724b7a910 (patch) | |
tree | 509d07685135e10a508fb6ba8594a99cab163a68 | |
parent | b434a5f7edfbdf1cde1559c663b2b5da6453fe37 (diff) |
correct usage format; ok beck claudio benno
-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 |