From 8ff394f83f3b03f8ac664fafe2c70962fa61c743 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 17 Oct 2018 16:56:47 +0200 Subject: [PATCH] Fix a dumb in buffer_putch. --- Kernel/VGA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/VGA.cpp b/Kernel/VGA.cpp index 06d02339dc..837b0c2a7b 100644 --- a/Kernel/VGA.cpp +++ b/Kernel/VGA.cpp @@ -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; }