From: Lennart Poettering Date: Wed, 21 Feb 2018 16:25:01 +0000 (+0100) Subject: missing: Fix statx syscall ifdeffery X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=3c4adcdc12aa27fcb8aaac06af37fe95a7f1a3e8;p=elogind.git missing: Fix statx syscall ifdeffery Fix a copy/paste mistake. Fixes: #8238 --- diff --git a/src/basic/missing_syscall.h b/src/basic/missing_syscall.h index 577ad009c..7e542c3d0 100644 --- a/src/basic/missing_syscall.h +++ b/src/basic/missing_syscall.h @@ -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