From: Ton Voon Date: Fri, 20 Feb 2004 03:00:19 +0000 (+0000) Subject: - compiler warning removed (but usage2 messages badly broken) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=55f8f712fb2808ff9e4c478d75aaf7895aa55c84;p=nagiosplug.git - 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 --- diff --git a/plugins/check_procs.c b/plugins/check_procs.c index 64e62dd..782a9a1 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);