aboutsummaryrefslogtreecommitdiff
path: root/sbin/dumpon
diff options
context:
space:
mode:
authorSean Bruno <sbruno@FreeBSD.org>2018-05-29 21:52:13 +0000
committerSean Bruno <sbruno@FreeBSD.org>2018-05-29 21:52:13 +0000
commit21a8e0b1d5868eeaa75b9024df6c603dc77e8e3c (patch)
tree7edb725f6d82edef88086d1d2b2bee0e3164d21d /sbin/dumpon
parent147cd40fe74ce1305895acea836022131661f57c (diff)
downloadsrc-21a8e0b1d5868eeaa75b9024df6c603dc77e8e3c.tar.gz
src-21a8e0b1d5868eeaa75b9024df6c603dc77e8e3c.zip
dumpon(8)
- fix the WITHOUT_CRYPTO buildworld case. Its rare, but some of us do build this way. Sponsored by: Limelight Networks
Notes
Notes: svn path=/head/; revision=334357
Diffstat (limited to 'sbin/dumpon')
-rw-r--r--sbin/dumpon/dumpon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/dumpon/dumpon.c b/sbin/dumpon/dumpon.c
index ddd8d4921696..cc5622bcd229 100644
--- a/sbin/dumpon/dumpon.c
+++ b/sbin/dumpon/dumpon.c
@@ -393,7 +393,8 @@ main(int argc, char *argv[])
#ifndef HAVE_CRYPTO
if (pubkeyfile != NULL)
- errx("Unable to use the public key. Recompile dumpon with OpenSSL support.");
+ errx(EX_UNAVAILABLE,"Unable to use the public key."
+ " Recompile dumpon with OpenSSL support.");
#endif
if (server != NULL && client != NULL) {