summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b86e5f8)
raw | patch | inline | side by side (parent: b86e5f8)
author | Sebastian Harl <sh@teamix.net> | |
Thu, 7 Apr 2011 15:37:10 +0000 (17:37 +0200) | ||
committer | Sebastian Harl <sh@teamix.net> | |
Thu, 7 Apr 2011 15:37:10 +0000 (17:37 +0200) |
plugins/check_dbi.c | patch | blob | history |
diff --git a/plugins/check_dbi.c b/plugins/check_dbi.c
index b52602c4a2753958fd71d8384c0f12341e532702..47b239a9314786a61de4e4d1051a14649dfa45ba 100644 (file)
--- a/plugins/check_dbi.c
+++ b/plugins/check_dbi.c
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");