diff options
-rw-r--r-- | src/linux/fanotify.c | 2 |
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); } |