Whoops, unbreak syscall number checking.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3098 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/core.h b/coregrind/core.h
index eae7980..4921efd 100644
--- a/coregrind/core.h
+++ b/coregrind/core.h
@@ -1831,7 +1831,7 @@
#define SYSCALL_RET(regs) ((regs).vex.PLATFORM_SYSCALL_RET)
// Offsets for the shadow state
-#define O_SYSCALL_NUM (offsetof(VexGuestArchState, PLATFORM_SYSCALL_ARG6))
+#define O_SYSCALL_NUM (offsetof(VexGuestArchState, PLATFORM_SYSCALL_NUM))
#define O_SYSCALL_ARG1 (offsetof(VexGuestArchState, PLATFORM_SYSCALL_ARG1))
#define O_SYSCALL_ARG2 (offsetof(VexGuestArchState, PLATFORM_SYSCALL_ARG2))
#define O_SYSCALL_ARG3 (offsetof(VexGuestArchState, PLATFORM_SYSCALL_ARG3))