diff --git a/src/system/libroot/os/arch/x86/syscalls.inc b/src/system/libroot/os/arch/x86/syscalls.inc index 517d650d09..08eb6705c8 100644 --- a/src/system/libroot/os/arch/x86/syscalls.inc +++ b/src/system/libroot/os/arch/x86/syscalls.inc @@ -23,7 +23,7 @@ movl $n, %eax; \ movl __gCommPageAddress, %edx; \ addl 4 * COMMPAGE_ENTRY_X86_SYSCALL(%edx), %edx; \ - jmp %edx; \ + jmp *%edx; \ FUNCTION_END(name) #define SYSCALL0(name, n) _SYSCALL(name, n)