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.
This commit is contained in:
Willy Tarreau 2013-03-04 07:31:08 +01:00
parent bfd5946aa1
commit b26cc86b1c
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@
#if defined(__x86_64__) #if defined(__x86_64__)
#define __NR_accept4 288 #define __NR_accept4 288
#elif defined(__sparc__) || defined(__sparc64__) #elif defined(__sparc__) || defined(__sparc64__)
#define __NR_splice 323 #define __NR_accept4 323
#else #else
#define ACCEPT4_USE_SOCKETCALL 1 #define ACCEPT4_USE_SOCKETCALL 1
#ifndef SYS_ACCEPT4 #ifndef SYS_ACCEPT4