aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/syscall/actions
diff options
context:
space:
mode:
authorMarvin Borner2020-05-07 00:16:52 +0200
committerMarvin Borner2020-05-07 00:16:52 +0200
commit31767b532e69c5a63df0106fa08e137e3106a449 (patch)
treeea7a91347e030c0b120361b7d9975547a5af19d1 /src/kernel/syscall/actions
parent8083536f321ad8a12ad4668c2bf41a65c3e3b2f6 (diff)
Some fixes here and there...
Also implemented serial console in userspace
Diffstat (limited to 'src/kernel/syscall/actions')
-rw-r--r--src/kernel/syscall/actions/sys_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/syscall/actions/sys_map.c b/src/kernel/syscall/actions/sys_map.c
index 63bfd9d..441722e 100644
--- a/src/kernel/syscall/actions/sys_map.c
+++ b/src/kernel/syscall/actions/sys_map.c
@@ -1,7 +1,7 @@
#include <stdint.h>
#include <events/event.h>
-u32 sys_map(u32 id, u32 *function)
+u32 sys_map(u32 id, u8 *function)
{
event_map(id, function);
return -1;