From 3f05eb7fcb71942c90fa7d5796c3d18ed62443cf Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Thu, 2 Dec 2004 21:23:50 +0000 Subject: --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 --- plugins/check_procs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/check_procs.c') diff --git a/plugins/check_procs.c b/plugins/check_procs.c index 4bc87c0a..5448842c 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c @@ -277,7 +277,7 @@ main (int argc, char **argv) printf (_("%d crit, %d warn out of "), crit, warn); } } - printf (ngettext ("%d process", "%d processes", (unsigned long) procs), procs); + printf ("%d %s", procs, procs == 1 ? _("process") : _("processes")); if (strcmp(fmt,"") != 0) { printf (_(" with %s"), fmt); -- cgit v1.2.3-74-g34f1