1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:17:36 +00:00

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; return ret;
} }
static void buffer_putch(char* bufptr, char ch) static void buffer_putch(char*& bufptr, char ch)
{ {
*bufptr++ = ch; *bufptr++ = ch;
} }