]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Duh; mmap doesn't work if you don't use the post-mmap wrapper too.
authorJulian Seward <jseward@acm.org>
Wed, 16 Feb 2005 01:58:01 +0000 (01:58 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 16 Feb 2005 01:58:01 +0000 (01:58 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3243

coregrind/amd64-linux/syscalls.c

index 4422856d810ae0c98eaa15d01d479f5ea759547e..199a7cdafa7bf2957f3f3e9970d15f0882e1ccc4 100644 (file)
@@ -186,7 +186,7 @@ const struct SyscallTableEntry VGA_(syscall_table)[] = {
    //   (__NR_lstat,             sys_newlstat),       // 6 
    //   (__NR_poll,              sys_poll),           // 7 
    GENX_(__NR_lseek,             sys_lseek),          // 8 
-   GENX_(__NR_mmap,              sys_mmap2),          // 9 
+   GENXY(__NR_mmap,              sys_mmap2),          // 9 
 
    GENXY(__NR_mprotect,          sys_mprotect),       // 10 
    //   (__NR_munmap,            sys_munmap),         // 11