diff options
Diffstat (limited to 'src/kernel/syscall/syscall.c')
-rw-r--r-- | src/kernel/syscall/syscall.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kernel/syscall/syscall.c b/src/kernel/syscall/syscall.c index 16d1ce4..7d5420d 100644 --- a/src/kernel/syscall/syscall.c +++ b/src/kernel/syscall/syscall.c @@ -29,8 +29,7 @@ void syscall_handler(struct regs *r) if (!location) return; - uint32_t ret = location(r->ebx, r->ecx, r->edx, r->esi, r->edi); - r->eax = ret; + r->eax = location(r->ebx, r->ecx, r->edx, r->esi, r->edi); } void syscalls_install() |