]> git.dujemihanovic.xyz Git - nameless-os.git/blobdiff - kernel/arch/x86/tty/tty.c
kprint can accept a const string
[nameless-os.git] / kernel / arch / x86 / tty / tty.c
index 6d250c5476825869947f4358ec549e2e572595ea..c1bb0a5242e53586d53d39d4b71a11b0c7f85e03 100644 (file)
@@ -34,7 +34,7 @@ void scroll_up(void)
        cursor_y = VGA_HEIGHT - 1;
 }
 
-void kprint(char *string)
+void kprint(const char *string)
 {
        char next_char;
        next_char = *string;