forgot a negative sign
authorAli Saidi <saidi@eecs.umich.edu>
Sun, 19 Feb 2006 05:28:53 +0000 (00:28 -0500)
committerAli Saidi <saidi@eecs.umich.edu>
Sun, 19 Feb 2006 05:28:53 +0000 (00:28 -0500)
--HG--
extra : convert_revision : 9cdb00198979fca831d3e6840f9c534671ccead3

arch/alpha/alpha_tru64_process.cc

index 90f01637dbeea54c657c1dceb8936c5141e78b25..e6624305cf8c59d7b2211d68c97f28411142f73a 100644 (file)
@@ -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)