about summary refs log tree commit diff
path: root/src/linux/fanotify.c
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-07-28 00:27:58 -0400
commitaf9e1752cd77179353249ec7aeac8bafd979efce (patch)
treee0fae07cdba5d3b95113e0f321f2bf1c545f1c86 /src/linux/fanotify.c
parent5987b6824359fa2a8b3ba715f1bdfab141c8d8c3 (diff)
downloadmusl-af9e1752cd77179353249ec7aeac8bafd979efce.tar.gz
musl-af9e1752cd77179353249ec7aeac8bafd979efce.tar.xz
musl-af9e1752cd77179353249ec7aeac8bafd979efce.zip
fix missing argument to syscall in fanotify_mark
(cherry picked from commit 4e5c7a2176773c9a1564c6603240337b3ad6b496)
Diffstat (limited to 'src/linux/fanotify.c')
-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);
 }