aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/ia32/ia32_sysvec.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2003-12-10 23:16:32 +0000
committerPeter Wemm <peter@FreeBSD.org>2003-12-10 23:16:32 +0000
commit7f3a56a41ab72c9047eab3e967c37227a629cffb (patch)
tree2f4588797970f2d432c8841e938a6de96f8ac73e /sys/compat/ia32/ia32_sysvec.c
parentb9e240face7eb2519507ee72e1625f7cdf627502 (diff)
downloadsrc-7f3a56a41ab72c9047eab3e967c37227a629cffb.tar.gz
src-7f3a56a41ab72c9047eab3e967c37227a629cffb.zip
Use the correct syscall table limit
Notes
Notes: svn path=/head/; revision=123422
Diffstat (limited to 'sys/compat/ia32/ia32_sysvec.c')
-rw-r--r--sys/compat/ia32/ia32_sysvec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/ia32/ia32_sysvec.c b/sys/compat/ia32/ia32_sysvec.c
index 2a0d6842a96f..9c14fc49cf6d 100644
--- a/sys/compat/ia32/ia32_sysvec.c
+++ b/sys/compat/ia32/ia32_sysvec.c
@@ -66,6 +66,7 @@ __FBSDID("$FreeBSD$");
#include <compat/freebsd32/freebsd32_util.h>
#include <compat/freebsd32/freebsd32_proto.h>
+#include <compat/freebsd32/freebsd32_syscall.h>
#include <compat/ia32/ia32_signal.h>
#include <machine/psl.h>
#include <machine/segments.h>
@@ -93,7 +94,7 @@ extern struct sysent freebsd32_sysent[];
SYSCTL_NODE(_compat, OID_AUTO, ia32, CTLFLAG_RW, 0, "ia32 mode");
struct sysentvec ia32_freebsd_sysvec = {
- SYS_MAXSYSCALL,
+ FREEBSD32_SYS_MAXSYSCALL,
freebsd32_sysent,
0,
0,