summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2006-04-05 08:06:19 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2006-04-05 08:06:19 +0000
commit8c6126f91c8ab5858bb26e47307d52a40ae888f4 (patch)
tree2fe727cd36af82be29511e98a626742027ad63e9
parent39e0ee3dcd831ddd3a7777fe55e6788825babac7 (diff)
downloadmonitoring-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
-rw-r--r--plugins/check_procs.c6
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;
65 65
66int verbose = 0; 66int verbose = 0;
67int uid; 67int uid;
68int ppid; 68pid_t ppid;
69int vsz; 69int vsz;
70int rss; 70int rss;
71float pcpu; 71float pcpu;
@@ -87,8 +87,8 @@ main (int argc, char **argv)
87 87
88 pid_t mypid = 0; 88 pid_t mypid = 0;
89 int procuid = 0; 89 int procuid = 0;
90 int procpid = 0; 90 pid_t procpid = 0;
91 int procppid = 0; 91 pid_t procppid = 0;
92 int procvsz = 0; 92 int procvsz = 0;
93 int procrss = 0; 93 int procrss = 0;
94 int procseconds = 0; 94 int procseconds = 0;