diff --git a/plugins/check_ping.c b/plugins/check_ping.c
index ecaf03ed4a2573cd04cf47363b8b7948ae7c3168..9fe71831684923d1fffa1816ce0c56c60a61eee3 100644 (file)
--- a/plugins/check_ping.c
+++ b/plugins/check_ping.c
const char *progname = "check_ping";
const char *revision = "$Revision$";
-const char *copyright = "2000-2003";
+const char *copyright = "2000-2004";
const char *email = "nagiosplug-devel@lists.sourceforge.net";
#include "common.h"
warn_text = strdup (_(WARN_DUPLICATES));
else if (! strstr (warn_text, _(WARN_DUPLICATES)) &&
asprintf (&warn_text, "%s %s", warn_text, _(WARN_DUPLICATES)) == -1)
- die (STATE_UNKNOWN, _("unable to realloc warn_text"));
+ die (STATE_UNKNOWN, _("Unable to realloc warn_text"));
return (STATE_WARNING);
}
-void
-print_usage (void)
-{
- printf (\
-"Usage: %s -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n\
- [-p packets] [-t timeout] [-L] [-4|-6]\n", progname);
- printf (_(UT_HLP_VRS), progname, progname);
-}
-
-
-
void
print_help (void)
{
printf (_(UT_SUPPORT));
}
+
+void
+print_usage (void)
+{
+ printf ("Usage: %s -H <host_address> -w <wrta>,<wpl>%% -c <crta>,<cpl>%%\n\
+ [-p packets] [-t timeout] [-L] [-4|-6]\n", progname);
+}