From d21fc3fc8e550bbffcf575398d614f657231c4a3 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Wed, 29 Oct 2014 20:30:25 -0400 Subject: missing.h: fix wrong __NR_getrandom syscall def 278 is vmsplice on x86_64. 318 is what we want: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/x86/syscalls/syscall_64.tbl Signed-off-by: Anthony G. Basile --- src/shared/missing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/shared/missing.h b/src/shared/missing.h index 50f0d56c4a..3cd90e39bd 100644 --- a/src/shared/missing.h +++ b/src/shared/missing.h @@ -44,7 +44,7 @@ #ifndef __NR_getrandom # if defined __x86_64__ -# define __NR_getrandom 278 +# define __NR_getrandom 318 # else # warning "__NR_getrandom unknown for your architecture" # define __NR_getrandom 0xffffffff -- cgit v1.2.3-54-g00ecf