summaryrefslogtreecommitdiffstats
path: root/plugins/check_dns.c
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 21:23:50 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-02 21:23:50 (GMT)
commit3f05eb7fcb71942c90fa7d5796c3d18ed62443cf (patch)
tree1d535c13394a0192c3d420b80e542c4a6aa2e303 /plugins/check_dns.c
parent3acc7c358f41b3fd960a27a1a8360beb64b2112c (diff)
downloadmonitoring-plugins-3f05eb7fcb71942c90fa7d5796c3d18ed62443cf.tar.gz
--disable-nls throws an error on check_dns, check_procs and
check_ldap without this patch. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@981 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_dns.c')
-rw-r--r--plugins/check_dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_dns.c b/plugins/check_dns.c
index 070223e..aaa3f12 100644
--- a/plugins/check_dns.c
+++ b/plugins/check_dns.c
@@ -196,7 +196,7 @@ main (int argc, char **argv)
196 multi_address = TRUE; 196 multi_address = TRUE;
197 197
198 printf ("DNS %s: ", _("OK")); 198 printf ("DNS %s: ", _("OK"));
199 printf (ngettext("%.3f second response time, ", "%.3f seconds response time, ", elapsed_time), elapsed_time); 199 printf (_("%.3f seconds response time"), elapsed_time);
200 printf (_("%s returns %s"), query_address, address); 200 printf (_("%s returns %s"), query_address, address);
201 printf ("|%s\n", fperfdata ("time", elapsed_time, "s", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0)); 201 printf ("|%s\n", fperfdata ("time", elapsed_time, "s", FALSE, 0, FALSE, 0, TRUE, 0, FALSE, 0));
202 } 202 }