summaryrefslogtreecommitdiff
path: root/bin/tools/nsec3hash.c
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2012-04-04 23:11:25 +0000
committerDoug Barton <dougb@FreeBSD.org>2012-04-04 23:11:25 +0000
commit42d3eba523963ab015ac451eeea0788b11631c94 (patch)
treed6eb268f26af23cc29cceb581dd5468a2cfef052 /bin/tools/nsec3hash.c
parent3939884dc90db099f5601bd7c27d39acf7a8c731 (diff)
Diffstat (limited to 'bin/tools/nsec3hash.c')
-rw-r--r--bin/tools/nsec3hash.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/tools/nsec3hash.c b/bin/tools/nsec3hash.c
index 0e2a910c9150f..6a54163e689f2 100644
--- a/bin/tools/nsec3hash.c
+++ b/bin/tools/nsec3hash.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006, 2008, 2009 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2006, 2008, 2009, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
@@ -14,7 +14,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: nsec3hash.c,v 1.6 2009-10-06 21:20:44 each Exp $ */
+/* $Id$ */
#include <config.h>
@@ -60,7 +60,8 @@ check_result(isc_result_t result, const char *message) {
static void
usage() {
- fatal("salt hash iterations domain");
+ printf("Usage: %s salt algorithm iterations domain\n", program);
+ exit(1);
}
int