summaryrefslogtreecommitdiff
path: root/kernel/syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/syscalls.c')
-rw-r--r--kernel/syscalls.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/kernel/syscalls.c b/kernel/syscalls.c
index e9ef9d5..6bd51d1 100644
--- a/kernel/syscalls.c
+++ b/kernel/syscalls.c
@@ -5,7 +5,9 @@
#include "fs/fs.h"
#include "fs/ext2.h"
#include "kernel/console.h"
+#include "kernel/kernel.h"
#include "kernel/config.h"
+#include "terminal/vt52.h"
#include <sys/stat.h>
#include <stdbool.h>
#include <stddef.h>
@@ -43,7 +45,7 @@ int syscall_write(int file, char *buf, int len)
//stderr and stdout go to console
for(int i=0;i<len;i++)
{
- console_put_char_green(buf[i]);
+ vt52_put( get_fool()->tty1,buf[i]);
}
lock_release(2);
//x86_int_enable();