From: Clément Vasseur Date: Fri, 13 Jun 2014 16:27:56 +0000 (+0200) Subject: fix missing argument to syscall in fanotify_mark X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=4e5c7a2176773c9a1564c6603240337b3ad6b496;p=musl fix missing argument to syscall in fanotify_mark --- 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); }