mailing list of musl libc
 help / color / mirror / code / Atom feed
* [PATCH] fix fanotify_mark
@ 2014-06-13 16:27 Clément Vasseur
  2014-06-14  4:19 ` Rich Felker
  0 siblings, 1 reply; 2+ messages in thread
From: Clément Vasseur @ 2014-06-13 16:27 UTC (permalink / raw)
  To: musl

---
 src/linux/fanotify.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/linux/fanotify.c b/src/linux/fanotify.c
index 1f4ef93..c6211af 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);
 }
 
-- 
1.9.2



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] fix fanotify_mark
  2014-06-13 16:27 [PATCH] fix fanotify_mark Clément Vasseur
@ 2014-06-14  4:19 ` Rich Felker
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2014-06-14  4:19 UTC (permalink / raw)
  To: musl

On Fri, Jun 13, 2014 at 06:27:56PM +0200, Clément Vasseur wrote:
> ---
>  src/linux/fanotify.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/linux/fanotify.c b/src/linux/fanotify.c
> index 1f4ef93..c6211af 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);
>  }
>  
> -- 
> 1.9.2

Thanks. Committed.

Rich


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-06-14  4:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-13 16:27 [PATCH] fix fanotify_mark Clément Vasseur
2014-06-14  4:19 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).