summaryrefslogtreecommitdiffstats
path: root/sys/compat/ia32/ia32_sysvec.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2003-12-10 23:16:32 +0000
committerpeter <peter@FreeBSD.org>2003-12-10 23:16:32 +0000
commit6a3f22c92823e5d15a6c77347f8607f856e4f108 (patch)
tree2f4588797970f2d432c8841e938a6de96f8ac73e /sys/compat/ia32/ia32_sysvec.c
parentfa790cf424666ffddbe9e65a61da340b6ff48db3 (diff)
downloadFreeBSD-src-6a3f22c92823e5d15a6c77347f8607f856e4f108.zip
FreeBSD-src-6a3f22c92823e5d15a6c77347f8607f856e4f108.tar.gz
Use the correct syscall table limit
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 2a0d684..9c14fc4 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,
OpenPOWER on IntegriCloud