about summary refs log tree commit diff
path: root/src/linux
diff options
context:
space:
mode:
authorClément Vasseur <clement.vasseur@gmail.com>2014-06-13 18:27:56 +0200
committerRich Felker <dalias@aerifal.cx>2014-06-14 00:10:16 -0400
commit4e5c7a2176773c9a1564c6603240337b3ad6b496 (patch)
tree08a6e7bab524d701a01b87047bf1aed69df68646 /src/linux
parent66fcde4ae4a52ae3edb1cf237ce2c22d08d7a062 (diff)
downloadmusl-4e5c7a2176773c9a1564c6603240337b3ad6b496.tar.gz
musl-4e5c7a2176773c9a1564c6603240337b3ad6b496.tar.xz
musl-4e5c7a2176773c9a1564c6603240337b3ad6b496.zip
fix missing argument to syscall in fanotify_mark
Diffstat (limited to 'src/linux')
-rw-r--r--src/linux/fanotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linux/fanotify.c b/src/linux/fanotify.c
index 1f4ef93b..c6211afc 100644
--- a/src/linux/fanotify.c
+++ b/src/linux/fanotify.c
@@ -9,6 +9,6 @@ int fanotify_init(unsigned flags, unsigned event_f_flags)
 int fanotify_mark(int fanotify_fd, unsigned flags, unsigned long long mask,
 	          int dfd, const char *pathname)
 {
-	return syscall(SYS_fanotify_mark, flags, __SYSCALL_LL_O(mask), dfd, pathname);
+	return syscall(SYS_fanotify_mark, fanotify_fd, flags, __SYSCALL_LL_E(mask), dfd, pathname);
 }