Quellcode durchsuchen

check_dns needs a space between 'time' and the hostname
check_hpjd needs a parenthesis removed in print_usage()


git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1000 f882894a-f735-0410-b71e-b25c423dba1c

Benoit Mortier vor 21 Jahren
Ursprung
Commit
7e2e599660
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      plugins/check_dns.c
  2. 1 1
      plugins/check_hpjd.c

+ 1 - 1
plugins/check_dns.c

@@ -196,7 +196,7 @@ main (int argc, char **argv)
 			multi_address = TRUE;
 			multi_address = TRUE;
 
 
 		printf ("DNS %s: ", _("OK"));
 		printf ("DNS %s: ", _("OK"));
-		printf (_("%.3f seconds response time"), elapsed_time);
+		printf (_("%.3f seconds response time "), elapsed_time);
 		printf (_("%s returns %s"), query_address, address);
 		printf (_("%s returns %s"), query_address, address);
 		printf ("|%s\n", fperfdata ("time", elapsed_time, "s", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0));
 		printf ("|%s\n", fperfdata ("time", elapsed_time, "s", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0));
 	}
 	}

+ 1 - 1
plugins/check_hpjd.c

@@ -398,5 +398,5 @@ Net-snmp must be installed on the computer running the plugin.\n\n"));
 void
 void
 print_usage (void)
 print_usage (void)
 {
 {
-	printf ("Usage: %s -H host [-C community]\n"), progname);
+	printf ("Usage: %s -H host [-C community]\n", progname);
 }
 }