From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/5244 Path: news.gmane.org!not-for-mail From: =?UTF-8?q?Cl=C3=A9ment=20Vasseur?= Newsgroups: gmane.linux.lib.musl.general Subject: [PATCH] fix fanotify_mark Date: Fri, 13 Jun 2014 18:27:56 +0200 Message-ID: <1402676876-37763-1-git-send-email-clement.vasseur@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1402677155 27453 80.91.229.3 (13 Jun 2014 16:32:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2014 16:32:35 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-5249-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jun 13 18:32:24 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1WvUOr-0005A2-3W for gllmg-musl@plane.gmane.org; Fri, 13 Jun 2014 18:32:21 +0200 Original-Received: (qmail 21674 invoked by uid 550); 13 Jun 2014 16:32:18 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19813 invoked from network); 13 Jun 2014 16:30:17 -0000 X-Mailer: git-send-email 1.9.2 Xref: news.gmane.org gmane.linux.lib.musl.general:5244 Archived-At: --- 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