diff --git a/plugins/check_nwstat.c b/plugins/check_nwstat.c
index b791640f5e1d849efb5a7949586fd69699ed0140..2d7e611da8f437f8052a046fff6535530bae076c 100644 (file)
--- a/plugins/check_nwstat.c
+++ b/plugins/check_nwstat.c
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- if (process_arguments(argc,argv) != TRUE)
+ if (process_arguments(argc,argv) == ERROR)
usage4 (_("Could not parse arguments"));
/* initialize alarm signal handling */
printf (COPYRIGHT, copyright, email);
printf (_("\
-Usage: %s This plugin attempts to contact the MRTGEXT NLM running\n\
-on a Novell server to gather the requested system information.\n\n"),
- progname);
+This plugin attempts to contact the MRTGEXT NLM running on a\n\
+Novell server to gather the requested system information.\n\n"));
print_usage();
{
printf ("\
Usage: %s -H host [-p port] [-v variable] [-w warning] [-c critical]\n\
- [-t timeout].\n", progname);
+ [-t timeout].\n", progname);
}