Fix a dumb in buffer_putch.

This commit is contained in:
Andreas Kling 2018-10-17 16:56:47 +02:00
parent 9aa88fe186
commit 8ff394f83f

View file

@ -126,7 +126,7 @@ int kprintf(const char* fmt, ...)
return ret;
}
static void buffer_putch(char* bufptr, char ch)
static void buffer_putch(char*& bufptr, char ch)
{
*bufptr++ = ch;
}