X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins%2Fcheck_hpjd.c;h=53769565b87827c84778f0472ec2ac1a94fdd2e3;hb=3438df79d1fbf7d929467855ffe7b9f1c181c09e;hp=678d5c80c72c119acfde15f5b660dcc0b9e3b95c;hpb=5e3fc41c6143676cf01b7aad789fc5f2cae5ce84;p=nagiosplug.git diff --git a/plugins/check_hpjd.c b/plugins/check_hpjd.c index 678d5c8..5376956 100644 --- a/plugins/check_hpjd.c +++ b/plugins/check_hpjd.c @@ -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); }