diff options
Diffstat (limited to 'src/kernel/syscall/actions/sys_write.c')
-rw-r--r-- | src/kernel/syscall/actions/sys_write.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/kernel/syscall/actions/sys_write.c b/src/kernel/syscall/actions/sys_write.c index 8531e85..6377473 100644 --- a/src/kernel/syscall/actions/sys_write.c +++ b/src/kernel/syscall/actions/sys_write.c @@ -9,10 +9,8 @@ uint32_t sys_write(char *buf) return strlen((const char *) buf); } -uint32_t sys_writec(char *ch) +uint32_t sys_writec(char ch) { - serial_write_hex(*ch); - serial_write("\n\n"); - writec((char) *ch); + writec((char) ch); return 0; }
\ No newline at end of file |