diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-04-05 08:06:19 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-04-05 08:06:19 +0000 |
commit | 8c6126f91c8ab5858bb26e47307d52a40ae888f4 (patch) | |
tree | 2fe727cd36af82be29511e98a626742027ad63e9 /plugins/check_procs.c | |
parent | 39e0ee3dcd831ddd3a7777fe55e6788825babac7 (diff) | |
download | monitoring-plugins-8c6126f91c8ab5858bb26e47307d52a40ae888f4.tar.gz |
Use pid_t for pids (1463853)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1368 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_procs.c')
-rw-r--r-- | plugins/check_procs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_procs.c b/plugins/check_procs.c index b866ac2c..01acc937 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; |