Code

- compiler warning removed (but usage2 messages badly broken)
authorTon Voon <tonvoon@users.sourceforge.net>
Fri, 20 Feb 2004 03:00:19 +0000 (03:00 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Fri, 20 Feb 2004 03:00:19 +0000 (03:00 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@812 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_procs.c

index 64e62dde772a81a049a7d79a90b0120561c4cdca..782a9a11bdcc16a426e31da85688030412b0c108 100644 (file)
@@ -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);