From 5e4e3fec411511b51c1fdf809cfe52512ae53261 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Thu, 7 Apr 2011 17:37:10 +0200 Subject: [PATCH] check_dbi: Include extra opts in help output. --- plugins/check_dbi.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/check_dbi.c b/plugins/check_dbi.c index b52602c..47b239a 100644 --- a/plugins/check_dbi.c +++ b/plugins/check_dbi.c @@ -353,6 +353,11 @@ print_help (void) print_usage (); printf (UT_HELP_VRSN); +/* include this conditionally to avoid 'zero-length printf format string' + * compiler warnings */ +#ifdef NP_EXTRA_OPTS + printf (UT_EXTRA_OPTS); +#endif printf ("\n"); printf (" %s\n", "-d, --driver=STRING"); -- 2.30.2