]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
missing: Fix statx syscall ifdeffery
authorLennart Poettering <lennart@poettering.net>
Wed, 21 Feb 2018 16:25:01 +0000 (17:25 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 22 Feb 2018 09:42:06 +0000 (10:42 +0100)
Fix a copy/paste mistake.

Fixes: #8238
src/basic/missing_syscall.h

index d7d4e9e459369c89a976323ed52df72fdc66eea7..d15b4bf78e014eef749c085f526c11c22856ef98 100644 (file)
@@ -415,9 +415,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