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
This commit is contained in:
Benoit Mortier 2004-12-04 10:57:12 +00:00
parent b467ed427c
commit 7e2e599660
2 changed files with 2 additions and 2 deletions

View file

@ -196,7 +196,7 @@ main (int argc, char **argv)
multi_address = TRUE;
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\n", fperfdata ("time", elapsed_time, "s", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0));
}

View file

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