aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-02-20 03:00:19 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-02-20 03:00:19 +0000
commit55f8f712fb2808ff9e4c478d75aaf7895aa55c84 (patch)
tree8647a96a3a1803b63644890e579b275395f90d85 /plugins
parentf2bfb2f7913b25952499bbfc4bfcfa837288d617 (diff)
downloadmonitoring-plugins-55f8f712fb2808ff9e4c478d75aaf7895aa55c84.tar.gz
- compiler warning removed (but usage2 messages badly broken)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@812 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-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 64e62dde..782a9a11 100644
--- a/plugins/check_procs.c
+++ b/plugins/check_procs.c
@@ -376,7 +376,7 @@ process_arguments (int argc, char **argv)
pw = getpwuid ((uid_t) uid);
/* check to be sure user exists */
if (pw == NULL)
- usage2 (_("UID %d was not found\n"), uid);
+ usage2 (_("UID %s was not found\n"), optarg);
}
else {
pw = getpwnam (optarg);