From ad6429b459074685845e5686277c020dae6ebf30 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Wed, 25 Jun 1997 10:01:10 +0000 Subject: [PATCH] Fixed stupid bug which caused klogd to eat up 90% cpu time. --- klogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klogd.c b/klogd.c index 65a29eb..81f25e4 100644 --- a/klogd.c +++ b/klogd.c @@ -585,7 +585,7 @@ static void LogLine(char *ptr, int len) auto int delta = 0; /* number of chars copied */ - while( len >= 0 ) + while( len > 0 ) { if( space == 0 ) /* line buffer is full */ {