summaryrefslogtreecommitdiff
path: root/package/strace/patches/patch-linux_32_syscallent_h
blob: 9d3c98a197899918223875edd34e755c6695d989 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- strace-4.11.orig/linux/32/syscallent.h	2015-12-05 00:12:14.000000000 +0100
+++ strace-4.11/linux/32/syscallent.h	2015-12-25 15:36:04.814035892 +0100
@@ -1,5 +1,5 @@
-#ifndef ARCH_mmap
-# define ARCH_mmap mmap
+#ifndef sys_ARCH_mmap
+# define sys_ARCH_mmap sys_mmap
 #endif
 [  0] = { 2,	0,		SEN(io_setup),			"io_setup"		},
 [  1] = { 1,	0,		SEN(io_destroy),		"io_destroy"		},
@@ -276,5 +276,5 @@
 [283] = { 2,	0,		SEN(membarrier),		"membarrier",		},
 [284] = { 3,	TM,		SEN(mlock2),			"mlock2"		},
 
-#undef ARCH_mmap
+#undef sys_ARCH_mmap
 #undef ARCH_WANT_SYNC_FILE_RANGE2