Code

check_host: Allocate a large-enough buffer for the host table.
[nagiosplug.git] / plugins / check_time.c
index 7816b238c72427abf9924af895e2eb32d92dd33a..3dcc662cb579d30df5640f4940f48e255735c8a9 100644 (file)
@@ -360,12 +360,6 @@ print_help (void)
 
        printf (UT_TIMEOUT, DEFAULT_SOCKET_TIMEOUT);
 
-#ifdef NP_EXTRA_OPTS
-       printf ("\n");
-       printf ("%s\n", _("Notes:"));
-       printf (UT_EXTRA_OPTS_NOTES);
-#endif
-
        printf (UT_SUPPORT);
 }
 
@@ -374,7 +368,7 @@ print_help (void)
 void
 print_usage (void)
 {
-  printf (_("Usage:"));
+  printf ("%s\n", _("Usage:"));
        printf ("%s -H <host_address> [-p port] [-u] [-w variance] [-c variance]\n",progname);
   printf (" [-W connect_time] [-C connect_time] [-t timeout]\n");
 }