Code

Fix includes for gettext
[nagiosplug.git] / plugins / check_mrtg.c
index 5dfee7201ad968a1693296d453d031f049b7dad7..bd37aefff893d18c441b7cefdbd8d53b4093a5d0 100644 (file)
@@ -59,7 +59,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\n"));
 
        /* open the MRTG log file for reading */
@@ -316,7 +316,7 @@ print_help (void)
 
        printf(_("\
 This plugin will check either the average or maximum value of one of the\n\
-two variables recorded in an MRTG log file.\n"));
+two variables recorded in an MRTG log file.\n\n"));
 
        print_usage ();
 
@@ -377,5 +377,6 @@ print_usage (void)
 {
        printf ("\
 Usage: %s -F log_file -a <AVG | MAX> -v variable -w warning -c critical\n\
-         [-l label] [-u units] [-e expire_minutes] [-t timeout] [-v]\n", progname);
+                  [-l label] [-u units] [-e expire_minutes] [-t timeout]\n\
+                  [-v]\n", progname);
 }