From 8c6126f91c8ab5858bb26e47307d52a40ae888f4 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 5 Apr 2006 08:06:19 +0000 Subject: Use pid_t for pids (1463853) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1368 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/plugins/check_procs.c b/plugins/check_procs.c index b866ac2..01acc93 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c @@ -65,7 +65,7 @@ enum metric metric = METRIC_PROCS; int verbose = 0; int uid; -int ppid; +pid_t ppid; int vsz; int rss; float pcpu; @@ -87,8 +87,8 @@ main (int argc, char **argv) pid_t mypid = 0; int procuid = 0; - int procpid = 0; - int procppid = 0; + pid_t procpid = 0; + pid_t procppid = 0; int procvsz = 0; int procrss = 0; int procseconds = 0; -- cgit v0.10-9-g596f