chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4809beb
)
missing: Fix statx syscall ifdeffery
author
Lennart Poettering
<lennart@poettering.net>
Wed, 21 Feb 2018 16:25:01 +0000
(17:25 +0100)
committer
Sven 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
patch
|
blob
|
history
diff --git
a/src/basic/missing_syscall.h
b/src/basic/missing_syscall.h
index 577ad009cc431a6b76c8e0cb5c915aaa952a5b16..7e542c3d09d096fecf52ff9966bac1974066f821 100644
(file)
--- 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