aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_dbi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/check_dbi.c b/plugins/check_dbi.c
index b52602c4..47b239a9 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");