aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/io/io.c
diff options
context:
space:
mode:
authorMarvin Borner2019-10-13 20:11:32 +0200
committerMarvin Borner2019-10-13 20:11:32 +0200
commit8754542ce074bef0984f91ce1b1cd8aff9b3d5e9 (patch)
tree66c6df9f2a2e9e4482ddfbce10490f706f78da33 /src/kernel/io/io.c
parent58804851fc49f6db1c87f791d39779766108efb0 (diff)
Fixed all compiler warnings
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]);
}