From: Willy Tarreau Date: Mon, 4 Mar 2013 06:31:08 +0000 (+0100) Subject: BUG/MINOR: syscall: fix NR_accept4 system call on sparc/linux X-Git-Tag: v1.5-dev18~80 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b26cc86b1cf36f0d4116834810754c9d15f1b67b;p=thirdparty%2Fhaproxy.git BUG/MINOR: syscall: fix NR_accept4 system call on sparc/linux An invalid copy-paste called it NR_splice instead of NR_accept4. This does not lead to real issues because if this define is used, then the code cannot compile since NR_accept4 is still missing. --- diff --git a/include/common/syscall.h b/include/common/syscall.h index 3ccbf5a8db..659b0ca347 100644 --- a/include/common/syscall.h +++ b/include/common/syscall.h @@ -131,7 +131,7 @@ #if defined(__x86_64__) #define __NR_accept4 288 #elif defined(__sparc__) || defined(__sparc64__) -#define __NR_splice 323 +#define __NR_accept4 323 #else #define ACCEPT4_USE_SOCKETCALL 1 #ifndef SYS_ACCEPT4