Code

check_host: Allocate a large-enough buffer for the host table.
[nagiosplug.git] / plugins / check_ups.c
index ce57ef3d00f8aafc415397c21183b12a1f7c8c04..30c9357acbc14521e4d55c31e7460afde84cb824 100644 (file)
@@ -649,10 +649,6 @@ print_help (void)
   printf (" %s\n", _("Network UPS Tools be installed on the remote host. If you do not have the"));
   printf (" %s\n", _("package installed on your system, you can download it from"));
   printf (" %s\n", _("http://www.networkupstools.org"));
-#ifdef NP_EXTRA_OPTS
-  printf ("\n");
-  printf (UT_EXTRA_OPTS_NOTES);
-#endif
 
        printf (UT_SUPPORT);
 }
@@ -661,6 +657,6 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -H host -u ups [-p port] [-v variable] [-w warn_value] [-c crit_value] [-to to_sec] [-T]\n", progname);
 }