From ffa7482cb6de4e2ec2e8f99a832fc9a6425150b6 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Tue, 6 Apr 2004 16:02:13 +0000 Subject: Fixed weird scanf bug on Solaris git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@864 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_procs.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'plugins') diff --git a/plugins/check_procs.c b/plugins/check_procs.c index edb33aca..402daa53 100644 --- a/plugins/check_procs.c +++ b/plugins/check_procs.c @@ -155,10 +155,6 @@ main (int argc, char **argv) /* Zombie processes do not give a procprog command */ if ( cols == (expected_cols - 1) && strstr(procstat, zombie) ) { cols = expected_cols; - /* Set some value for procargs for the strip command further below - Seen to be a problem on some Solaris 7 and 8 systems */ - input_buffer[pos] = '\n'; - input_buffer[pos+1] = 0x0; } if ( cols >= expected_cols ) { resultsum = 0; -- cgit v1.2.3-74-g34f1