summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/alpha/alpha_tru64_process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/alpha_tru64_process.cc b/arch/alpha/alpha_tru64_process.cc
index 90f01637d..e6624305c 100644
--- a/arch/alpha/alpha_tru64_process.cc
+++ b/arch/alpha/alpha_tru64_process.cc
@@ -519,7 +519,7 @@ SyscallDesc AlphaTru64Process::machSyscallDescs[] = {
SyscallDesc*
AlphaTru64Process::getDesc(int callnum)
{
- if (callnum < Num_Mach_Syscall_Descs || callnum > Num_Syscall_Descs)
+ if (callnum < -Num_Mach_Syscall_Descs || callnum > Num_Syscall_Descs)
return NULL;
if (callnum < 0)