Revision: 1885
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1885&view=rev
Author: psychotrahe
Date: 2008-01-04 14:10:37 -0800 (Fri, 04 Jan 2008)
Log Message:
-----------
Cleaned check_procs usage output (Ferenc Wagner #1862218)
Modified Paths:
--------------
nagiosplug/trunk/plugins/check_procs.c
Modified: nagiosplug/trunk/plugins/check_procs.c
===================================================================
--- nagiosplug/trunk/plugins/check_procs.c 2007-12-21 14:19:08 UTC (rev 1884)
+++ nagiosplug/trunk/plugins/check_procs.c 2008-01-04 22:10:37 UTC (rev 1885)
@@ -417,13 +417,13 @@
pw = getpwuid ((uid_t) uid);
/* check to be sure user exists */
if (pw == NULL)
- usage2 (_("UID %s was not found"), optarg);
+ usage2 (_("UID was not found"), optarg);
}
else {
pw = getpwnam (optarg);
/* check to be sure user exists */
if (pw == NULL)
- usage2 (_("User name %s was not found"), optarg);
+ usage2 (_("User name was not found"), optarg);
/* then get uid */
uid = pw->pw_uid;
}
@@ -750,7 +750,7 @@
void
print_usage (void)
{
- printf (_("Usage:"));
+ printf (_("Usage: "));
printf ("%s -w <range> -c <range> [-m metric] [-s state] [-p ppid]\n", progname);
printf (" [-u user] [-r rss] [-z vsz] [-P %%cpu] [-a argument-array]\n");
printf (" [-C command] [-t timeout] [-v]\n");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.