aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/actions/sys_write.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/syscall/actions/sys_write.c')
-rw-r--r--src/kernel/syscall/actions/sys_write.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/syscall/actions/sys_write.c b/src/kernel/syscall/actions/sys_write.c
index c537d12..fceaaab 100644
--- a/src/kernel/syscall/actions/sys_write.c
+++ b/src/kernel/syscall/actions/sys_write.c
@@ -1,8 +1,10 @@
#include <stdint-gcc.h>
#include <mlibc/stdio.h>
+#include <kernel/io/io.h>
uint32_t sys_write(char *buf, uint32_t count)
{
+ serial_write("WRITE");
for (uint32_t i = 0; i < count; i++)
writec(*(buf++));
return count;