aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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) {