Explorar o código

- 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
Ton Voon %!s(int64=22) %!d(string=hai) anos
pai
achega
55f8f712fb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins/check_procs.c

+ 1 - 1
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);