summaryrefslogtreecommitdiff
path: root/bin/tools/nsec3hash.c
diff options
context:
space:
mode:
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