diff options
author | Marvin Borner | 2019-12-17 21:50:02 +0100 |
---|---|---|
committer | Marvin Borner | 2019-12-17 21:50:02 +0100 |
commit | 025709e8643eb24e3360e575564b34ebd8062fd7 (patch) | |
tree | 16e45f68a958419a3e497e7b01e6472e92ffe94c /src/userspace/syscall.c | |
parent | 6188eed3863e6087a7d5b7d988e91d711b45064b (diff) |
Finally fixed text input syscalls!
I guess I can officially call me dumb now as I just forgot
to return the actual value from the syscall handler...
Diffstat (limited to 'src/userspace/syscall.c')
-rw-r--r-- | src/userspace/syscall.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/userspace/syscall.c b/src/userspace/syscall.c index b398728..35e6d50 100644 --- a/src/userspace/syscall.c +++ b/src/userspace/syscall.c @@ -9,9 +9,9 @@ DEFN_SYSCALL1(write, 1, char *); DEFN_SYSCALL1(read, 2, char *); -DEFN_SYSCALL1(writec, 3, char *); +DEFN_SYSCALL1(writec, 3, char); -DEFN_SYSCALL1(readc, 4, char *); +DEFN_SYSCALL0(readc, 4); DEFN_SYSCALL0(get_pointers, 5); |