From 8f401739b8f5130b1786e91e0d9bad4176ad934a Mon Sep 17 00:00:00 2001 From: Lauri Tirkkonen Date: Sun, 13 Jan 2019 02:00:25 +0200 Subject: [PATCH] kernel: map 32-bit mmap to correct function --- kernel/os/sysent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/os/sysent.c b/kernel/os/sysent.c index ade1d35446..695e67b13c 100644 --- a/kernel/os/sysent.c +++ b/kernel/os/sysent.c @@ -888,7 +888,7 @@ struct sysent sysent32[NSYSCALL] = /* 112 */ SYSENT_CI("priocntlsys", priocntlsys, 5), /* 113 */ SYSENT_CI("pathconf", pathconf, 2), /* 114 */ SYSENT_CI("mincore", mincore, 3), - /* 115 */ SYSENT_CI("mmap", smmap32, 6), + /* 115 */ SYSENT_AP("mmap", smmaplf32, 7), /* 116 */ SYSENT_CI("mprotect", mprotect, 3), /* 117 */ SYSENT_CI("munmap", munmap, 2), /* 118 */ SYSENT_CI("fpathconf", fpathconf, 2), -- 2.11.4.GIT