[Nagiosplug-checkins] nagiosplug/plugins check_procs.c,1.47,1.48

Ton Voon tonvoon at users.sourceforge.net
Wed Apr 5 01:07:00 CEST 2006


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5079

Modified Files:
	check_procs.c 
Log Message:
Use pid_t for pids (1463853)


Index: check_procs.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_procs.c,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- check_procs.c	17 Feb 2006 06:24:53 -0000	1.47
+++ check_procs.c	5 Apr 2006 08:06:19 -0000	1.48
@@ -65,7 +65,7 @@
 
 int verbose = 0;
 int uid;
-int ppid;
+pid_t ppid;
 int vsz;
 int rss;
 float pcpu;
@@ -87,8 +87,8 @@
 
 	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;





More information about the Commits mailing list