From: Eugene Syromyatnikov Date: Sat, 12 Nov 2016 10:20:51 +0000 (+0300) Subject: linux/x32/syscallent.h: fix syscallent array initialisation on x32 X-Git-Tag: v4.15~144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f793bda0732eb721b1440af9e098425cd9f5453a;p=strace linux/x32/syscallent.h: fix syscallent array initialisation on x32 Why gcc didn't complain about it? It is definitely an index clash. * linux/x32/syscallent.h: Change initializer indices for empty records from [327 ... 511] to [329 ... 511]. --- diff --git a/linux/x32/syscallent.h b/linux/x32/syscallent.h index 10443d38..bd44450e 100644 --- a/linux/x32/syscallent.h +++ b/linux/x32/syscallent.h @@ -327,7 +327,7 @@ [326] = { 6, TD, SEN(copy_file_range), "copy_file_range" }, [327] = { 6, TD, SEN(printargs), "64:preadv2" }, [328] = { 6, TD, SEN(printargs), "64:pwritev2" }, -[327 ... 511] = { }, +[329 ... 511] = { }, /* * x32-specific system call numbers start at 512 to avoid cache impact * for native 64-bit operation.