chiark / gitweb /
missing: Fix statx syscall ifdeffery
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Feb 2018 16:25:01 +0000 (17:25 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:59:02 +0000 (07:59 +0200)
Fix a copy/paste mistake.

Fixes: #8238
src/basic/missing_syscall.h

index 577ad009cc431a6b76c8e0cb5c915aaa952a5b16..7e542c3d09d096fecf52ff9966bac1974066f821 100644 (file)
@@ -417,9 +417,9 @@ static inline int missing_bpf(int cmd, union bpf_attr *attr, size_t size) {
 #if !HAVE_STATX
 #  ifndef __NR_statx
 #    if defined __i386__
-#      define __NR_bpf 383
+#      define __NR_statx 383
 #    elif defined __x86_64__
-#      define __NR_bpf 332
+#      define __NR_statx 332
 #    else
 #      warning "__NR_statx not defined for your architecture"
 #    endif