summaryrefslogtreecommitdiffstats
path: root/web/attachments/54764-check_procs.c.diff
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/54764-check_procs.c.diff')
-rw-r--r--web/attachments/54764-check_procs.c.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/web/attachments/54764-check_procs.c.diff b/web/attachments/54764-check_procs.c.diff
new file mode 100644
index 0000000..89171ae
--- /dev/null
+++ b/web/attachments/54764-check_procs.c.diff
@@ -0,0 +1,16 @@
1Index: check_procs.c
2===================================================================
3RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_procs.c,v
4retrieving revision 1.15
5diff -u -3 -r1.15 check_procs.c
6--- check_procs.c 11 Apr 2003 23:47:39 -0000 1.15
7+++ check_procs.c 2 Jul 2003 16:04:21 -0000
8@@ -204,6 +204,8 @@
9 /* Zombie processes do not give a procprog command */
10 if ( cols == 6 && strstr(procstat, zombie) ) {
11 cols = 7;
12+ input_buffer[pos] = '\n';
13+ input_buffer[pos+1] = 0x0;
14 }
15 if ( cols >= 7 ) {
16 resultsum = 0;