Change a return to a break so the local buffers get properly freeed.

Spotte by:	FlexeLint

Reviewed by:	rwatson
This commit is contained in:
Poul-Henning Kamp 2002-09-28 21:34:31 +00:00
parent 19ebba326b
commit 2f9752e95e

View File

@ -264,7 +264,7 @@ log_console(struct uio *uio)
c = imin(uio->uio_resid, CONSCHUNK);
error = uiomove(consbuffer, c, uio);
if (error != 0)
return;
break;
for (i = 0; i < c; i++) {
msglogchar(consbuffer[i], pri);
if (consbuffer[i] == '\n')