summaryrefslogtreecommitdiffstats
path: root/plugins/check_procs.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-12-10 00:20:23 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2004-12-10 00:20:23 (GMT)
commite0b6d59597a1766b4127f071852745a98670d583 (patch)
tree6bbe835134095f257ede7fb9067786852680a3b8 /plugins/check_procs.c
parente273a76bc5489740cd41999775201e74709c1602 (diff)
downloadmonitoring-plugins-e0b6d59597a1766b4127f071852745a98670d583.tar.gz
Reverting back ngettext calls
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1017 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 f2fc2e5..1be93f4 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -288,7 +288,7 @@ main (int argc, char **argv)
288 printf (_("%d crit, %d warn out of "), crit, warn); 288 printf (_("%d crit, %d warn out of "), crit, warn);
289 } 289 }
290 } 290 }
291 printf ("%d %s", procs, procs == 1 ? _("process") : _("processes")); 291 printf (ngettext ("%d process", "%d processes", (unsigned long) procs), procs);
292 292
293 if (strcmp(fmt,"") != 0) { 293 if (strcmp(fmt,"") != 0) {
294 printf (_(" with %s"), fmt); 294 printf (_(" with %s"), fmt);