diff options
-rw-r--r-- | plugins/check_procs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c index f5dc45d..f266cd7 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c | |||
@@ -417,13 +417,13 @@ process_arguments (int argc, char **argv) | |||
417 | pw = getpwuid ((uid_t) uid); | 417 | pw = getpwuid ((uid_t) uid); |
418 | /* check to be sure user exists */ | 418 | /* check to be sure user exists */ |
419 | if (pw == NULL) | 419 | if (pw == NULL) |
420 | usage2 (_("UID %s was not found"), optarg); | 420 | usage2 (_("UID was not found"), optarg); |
421 | } | 421 | } |
422 | else { | 422 | else { |
423 | pw = getpwnam (optarg); | 423 | pw = getpwnam (optarg); |
424 | /* check to be sure user exists */ | 424 | /* check to be sure user exists */ |
425 | if (pw == NULL) | 425 | if (pw == NULL) |
426 | usage2 (_("User name %s was not found"), optarg); | 426 | usage2 (_("User name was not found"), optarg); |
427 | /* then get uid */ | 427 | /* then get uid */ |
428 | uid = pw->pw_uid; | 428 | uid = pw->pw_uid; |
429 | } | 429 | } |
@@ -750,7 +750,7 @@ be the total number of running processes\n\n")); | |||
750 | void | 750 | void |
751 | print_usage (void) | 751 | print_usage (void) |
752 | { | 752 | { |
753 | printf (_("Usage:")); | 753 | printf (_("Usage: ")); |
754 | printf ("%s -w <range> -c <range> [-m metric] [-s state] [-p ppid]\n", progname); | 754 | printf ("%s -w <range> -c <range> [-m metric] [-s state] [-p ppid]\n", progname); |
755 | printf (" [-u user] [-r rss] [-z vsz] [-P %%cpu] [-a argument-array]\n"); | 755 | printf (" [-u user] [-r rss] [-z vsz] [-P %%cpu] [-a argument-array]\n"); |
756 | printf (" [-C command] [-t timeout] [-v]\n"); | 756 | printf (" [-C command] [-t timeout] [-v]\n"); |