Code

Fix includes for gettext
[nagiosplug.git] / plugins / check_fping.c
index 3baf52f21f6c486b216ecc2241f1be32c301f61d..7f05d4d53038ab297245a7eebc36bd409caf7285 100644 (file)
@@ -69,7 +69,7 @@ main (int argc, char **argv)
        bindtextdomain (PACKAGE, LOCALEDIR);
        textdomain (PACKAGE);
 
-       if (process_arguments (argc, argv) != TRUE)
+       if (process_arguments (argc, argv) == ERROR)
                usage4 (_("Could not parse arguments"));
 
        server = strscpy (server, server_name);
@@ -356,15 +356,15 @@ void
 print_help (void)
 {
 
-       print_revision (progname, "$Revision$");
+       print_revision (progname, revision);
 
        printf ("Copyright (c) 1999 Didi Rieder <adrieder@sbox.tu-graz.ac.at>\n");
        printf (COPYRIGHT, copyright, email);
 
        printf (_("\
-This plugin will use the /bin/fping command (from saint) to ping the\n\
-specified host for a fast check if the host is alive. Note that it is\n\
-necessary to set the suid flag on fping.\n\n"));
+This plugin will use the /bin/fping command to ping the specified host\n\
+for a fast check if the host is alive.\n\
+Note that it is necessary to set the suid flag on fping.\n\n"));
 
        print_usage ();
 
@@ -400,5 +400,4 @@ void
 print_usage (void)
 {
        printf ("Usage: %s <host_address>\n", progname);
-       printf (UT_HLP_VRS, progname, progname);
 }