aboutsummaryrefslogtreecommitdiff
path: root/bin/rndc/rndc-confgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rndc/rndc-confgen.c')
-rw-r--r--bin/rndc/rndc-confgen.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/rndc/rndc-confgen.c b/bin/rndc/rndc-confgen.c
index 1cb0a0a7c9b9..f2478d0e6b4a 100644
--- a/bin/rndc/rndc-confgen.c
+++ b/bin/rndc/rndc-confgen.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2008, 2011, 2012 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001, 2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: rndc-confgen.c,v 1.26 2008-10-15 23:47:31 tbox Exp $ */
+/* $Id$ */
/*! \file */
@@ -68,6 +68,9 @@ isc_boolean_t verbose = ISC_FALSE;
const char *keyfile, *keydef;
+ISC_PLATFORM_NORETURN_PRE static void
+usage(int status) ISC_PLATFORM_NORETURN_POST;
+
static void
usage(int status) {
@@ -232,6 +235,7 @@ main(int argc, char **argv) {
argc -= isc_commandline_index;
argv += isc_commandline_index;
+ POST(argv);
if (argc > 0)
usage(1);