]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fix usage message
authorEvan Hunt <each@isc.org>
Wed, 2 Nov 2011 06:00:35 +0000 (06:00 +0000)
committerEvan Hunt <each@isc.org>
Wed, 2 Nov 2011 06:00:35 +0000 (06:00 +0000)
bin/tools/nsec3hash.c

index f8ad799b19c94668c09c9c363b8ccd3f7fa674c8..f71589e355f7e5ee086f625b19ba25982560c331 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: nsec3hash.c,v 1.6 2009/10/06 21:20:44 each Exp $ */
+/* $Id: nsec3hash.c,v 1.7 2011/11/02 06:00:35 each Exp $ */
 
 #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