summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2014-10-29 20:30:25 -0400
committerAnthony G. Basile <blueness@gentoo.org>2014-10-31 12:01:37 -0400
commitd21fc3fc8e550bbffcf575398d614f657231c4a3 (patch)
tree8b5b93d9c4b27cb5de3064aa5db2669b60881c15 /src/shared
parentea79c9cdf08072304aa6e464629cdd4b96d183a6 (diff)
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 <blueness@gentoo.org>
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/missing.h2
1 files changed, 1 insertions, 1 deletions
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