summaryrefslogtreecommitdiffstats
path: root/plugins/check_procs.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-11-24 00:46:40 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2004-11-24 00:46:40 +0000
commit0c1c9f51e2c33db04918d2aa322fd1f9a688979b (patch)
treec7956483bce0deb4b73ca3a6b9d0b7f2e97620db /plugins/check_procs.c
parent589d4664919638bedd6e2e1710c323887d19584a (diff)
downloadmonitoring-plugins-0c1c9f51e2c33db04918d2aa322fd1f9a688979b.tar.gz
Making messages more consistent
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@930 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_procs.c')
-rw-r--r--plugins/check_procs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index 3eefdb44..d39bfa54 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -348,7 +348,7 @@ process_arguments (int argc, char **argv)
348 exit (STATE_OK); 348 exit (STATE_OK);
349 case 't': /* timeout period */ 349 case 't': /* timeout period */
350 if (!is_integer (optarg)) 350 if (!is_integer (optarg))
351 usage (_("Timeout Interval must be an integer!\n\n")); 351 usage2 (_("Timeout interval must be a positive integer"), optarg);
352 else 352 else
353 timeout_interval = atoi (optarg); 353 timeout_interval = atoi (optarg);
354 break; 354 break;
@@ -588,8 +588,8 @@ print_help (void)
588{ 588{
589 print_revision (progname, revision); 589 print_revision (progname, revision);
590 590
591 printf (_("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>")); 591 printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>");
592 printf (_(COPYRIGHT), copyright, email); 592 printf (COPYRIGHT, copyright, email);
593 593
594 printf(_("\ 594 printf(_("\
595Checks all processes and generates WARNING or CRITICAL states if the specified\n\ 595Checks all processes and generates WARNING or CRITICAL states if the specified\n\