summaryrefslogtreecommitdiffstats
path: root/plugins/check_procs.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_procs.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_procs.c')
-rw-r--r--plugins/check_procs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 4bc87c0..5448842 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -277,7 +277,7 @@ main (int argc, char **argv)
277 printf (_("%d crit, %d warn out of "), crit, warn); 277 printf (_("%d crit, %d warn out of "), crit, warn);
278 } 278 }
279 } 279 }
280 printf (ngettext ("%d process", "%d processes", (unsigned long) procs), procs); 280 printf ("%d %s", procs, procs == 1 ? _("process") : _("processes"));
281 281
282 if (strcmp(fmt,"") != 0) { 282 if (strcmp(fmt,"") != 0) {
283 printf (_(" with %s"), fmt); 283 printf (_(" with %s"), fmt);