aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/io/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/io/io.c')
-rw-r--r--src/kernel/io/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/io/io.c b/src/kernel/io/io.c
index dc2d59a..5da4e0e 100644
--- a/src/kernel/io/io.c
+++ b/src/kernel/io/io.c
@@ -52,7 +52,7 @@ void serial_put(char ch) {
send_b(0x3f8, ch);
}
-void serial_write(char *data) {
+void serial_write(const char *data) {
for (size_t i = 0; i < strlen(data); i++) {
serial_put(data[i]);
}