From 118898807865ba11f5d7754f6f0572a0403f8512 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 30 Oct 2019 16:02:10 +0100 Subject: Started implementation of initrd based vfs --- src/kernel/graphics/vesa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/kernel/graphics/vesa.c') diff --git a/src/kernel/graphics/vesa.c b/src/kernel/graphics/vesa.c index 8347c56..94f53c6 100644 --- a/src/kernel/graphics/vesa.c +++ b/src/kernel/graphics/vesa.c @@ -309,7 +309,7 @@ void vesa_keyboard_char(char ch) { } else if (ch == '\n') { vesa_draw_char(ch); exec_command(text); - memory_set(text, 0, sizeof(text)); + memset(text, 0, sizeof(text)); // terminal_scroll(); } else if (ch >= ' ') { vesa_draw_char(ch); -- cgit v1.2.3