fix missing argument to syscall in fanotify_mark
authorClément Vasseur <clement.vasseur@gmail.com>
Fri, 13 Jun 2014 16:27:56 +0000 (18:27 +0200)
committerRich Felker <dalias@aerifal.cx>
Mon, 28 Jul 2014 04:27:58 +0000 (00:27 -0400)
(cherry picked from commit 4e5c7a2176773c9a1564c6603240337b3ad6b496)

src/linux/fanotify.c

index 1f4ef93bda61ff2d6d16b57df32ac6b49d413b41..c6211afc0002dbf1a288b6375d662cece5e35c5c 100644 (file)
@@ -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);
 }