Fixed stupid bug which caused klogd to eat up 90% cpu time.

This commit is contained in:
Joey Schulze 1997-06-25 10:01:10 +00:00
parent af05ec876f
commit ad6429b459

View File

@ -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 */
{