From 103250dd47477fbd2c1ee908fef57fc77c95bb2c Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Wed, 2 Nov 2011 06:00:35 +0000 Subject: [PATCH] fix usage message --- bin/tools/nsec3hash.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/tools/nsec3hash.c b/bin/tools/nsec3hash.c index f8ad799b19..f71589e355 100644 --- a/bin/tools/nsec3hash.c +++ b/bin/tools/nsec3hash.c @@ -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 @@ -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