Code

check_host: Allocate a large-enough buffer for the host table.
[nagiosplug.git] / plugins / check_tcp.c
index 555b8b9a2b69d7528604bf7311ea587056061de0..178bd5688dec52abeeb72667b595ba7c65709ab5 100644 (file)
@@ -648,7 +648,7 @@ print_help (void)
 void
 print_usage (void)
 {
-       printf (_("Usage:"));
+       printf ("%s\n", _("Usage:"));
   printf ("%s -H host -p port [-w <warning time>] [-c <critical time>] [-s <send string>]\n",progname);
   printf ("[-e <expect string>] [-q <quit string>][-m <maximum bytes>] [-d <delay>]\n");
   printf ("[-t <timeout seconds>] [-r <refuse state>] [-M <mismatch state>] [-v] [-4|-6] [-j]\n");