diff --git a/sortix/x86/syscall.s b/sortix/x86/syscall.s index 47e75498..87b7ad4f 100644 --- a/sortix/x86/syscall.s +++ b/sortix/x86/syscall.s @@ -63,7 +63,7 @@ syscall_handler: # Make sure the requested system call is valid. cmp SYSCALL_MAX, %eax - jl valid_eax + jb valid_eax xorl %eax, %eax valid_eax: