[nagiosplug] check_snmp: Fix --help segfault

Nagios Plugin Development nagios-plugins at users.sourceforge.net
Tue Aug 27 18:51:13 CEST 2013


 Module: nagiosplug
 Branch: master
 Commit: 1cbc73bc8b04962947afdead5e451c4e2318bda9
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Tue Aug 27 16:08:49 2013 +0200
    URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=1cbc73b

check_snmp: Fix --help segfault

---

 plugins/check_snmp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/check_snmp.c b/plugins/check_snmp.c
index 9ca845d..bae3830 100644
--- a/plugins/check_snmp.c
+++ b/plugins/check_snmp.c
@@ -1167,7 +1167,7 @@ print_help (void)
 	printf ("\n");
 	printf ("%s\n", _("Notes:"));
 	printf (" %s\n", _("- Multiple OIDs (and labels) may be indicated by a comma or space-delimited  "));
-	printf ("   %s %i %s\n", _("list (lists with internal spaces must be quoted)."));
+	printf ("   %s\n", _("list (lists with internal spaces must be quoted)."));
 
 	printf(" -%s", UT_THRESHOLDS_NOTES);
 





More information about the Commits mailing list