summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1544007)
raw | patch | inline | side by side (parent: 1544007)
author | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Fri, 4 Jan 2008 22:10:37 +0000 (22:10 +0000) | ||
committer | Matthias Eble <psychotrahe@users.sourceforge.net> | |
Fri, 4 Jan 2008 22:10:37 +0000 (22:10 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1885 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_procs.c | patch | blob | history |
diff --git a/plugins/check_procs.c b/plugins/check_procs.c
index f5dc45df532d7efc23d61d686e16acd2e23d3c10..f266cd768de60be2e572fc432dcae469b468c70f 100644 (file)
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
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;
}
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");