fix missing argument to syscall in fanotify_mark
This commit is contained in:
parent
66fcde4ae4
commit
4e5c7a2176
1 changed files with 1 additions and 1 deletions
|
|
@ -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 fanotify_mark(int fanotify_fd, unsigned flags, unsigned long long mask,
|
||||||
int dfd, const char *pathname)
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue