[monitoring-plugins] plugins/utils.h: avoiding warnings on empty ...
Git Repository
git at monitoring-plugins.org
Wed Jan 22 16:30:06 CET 2014
Module: monitoring-plugins
Branch: maint
Commit: 82033b35b162c1b8a64a4b8be36c1c9c87ef9555
Author: Ricardo Maraschini <ricardo.maraschini at gmail.com>
Committer: Holger Weiss <holger at zedat.fu-berlin.de>
Date: Wed Jan 22 09:16:49 2014 -0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=82033b3
plugins/utils.h: avoiding warnings on empty printf statements
while compiling i keep receiving an warning statement as follow:
warning: zero-length gnu_printf format string
using an unorthodox method to remove them
Signed-off-by: Ricardo Maraschini <ricardo.maraschini at gmail.com>
---
plugins/utils.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/utils.h b/plugins/utils.h
index 3c039a7..8c8c81b 100644
--- a/plugins/utils.h
+++ b/plugins/utils.h
@@ -189,7 +189,7 @@ char *fperfdata (const char *,
https://www.monitoring-plugins.org/doc/extra-opts.html\n\
for usage and examples.\n")
#else
-#define UT_EXTRA_OPTS ""
+#define UT_EXTRA_OPTS " \b"
#endif
#define UT_THRESHOLDS_NOTES _("\
More information about the Commits
mailing list