Code

Add another error string match from Pasi Tiittanen
[nagiosplug.git] / plugins / check_hpjd.c
index 678d5c80c72c119acfde15f5b660dcc0b9e3b95c..53769565b87827c84778f0472ec2ac1a94fdd2e3 100644 (file)
@@ -85,7 +85,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"));
 
        /* removed ' 2>1' at end of command 10/27/1999 - EG */
@@ -398,5 +398,5 @@ Net-snmp must be installed on the computer running the plugin.\n\n"));
 void
 print_usage (void)
 {
-       printf ("Usage: %s -H host [-C community]\n"), progname);
+       printf ("Usage: %s -H host [-C community]\n", progname);
 }