From 3c4adcdc12aa27fcb8aaac06af37fe95a7f1a3e8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 21 Feb 2018 17:25:01 +0100 Subject: [PATCH] missing: Fix statx syscall ifdeffery Fix a copy/paste mistake. Fixes: #8238 --- src/basic/missing_syscall.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2