From 7d65496128986ac6862d2c897e411a522156c86c Mon Sep 17 00:00:00 2001 From: Jackie Huang Date: Mon, 27 Jan 2020 12:55:39 -0800 Subject: inotify-tools: fix __NR_inotify_add_watch system call number on _MIPS_SIM_ABI64 (#71) The correct value should be the same as defined in linux/arch/mips/include/uapi/asm/unistd.h Signed-off-by: Roy Li Signed-off-by: Jackie Huang --- libinotifytools/src/inotifytools/inotify-nosys.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libinotifytools/src/inotifytools/inotify-nosys.h b/libinotifytools/src/inotifytools/inotify-nosys.h index 5f7b11b..db76b2c 100644 --- a/libinotifytools/src/inotifytools/inotify-nosys.h +++ b/libinotifytools/src/inotifytools/inotify-nosys.h @@ -100,8 +100,8 @@ struct inotify_event { # endif # if _MIPS_SIM == _MIPS_SIM_ABI64 # define __NR_inotify_init (__NR_Linux + 243) -# define __NR_inotify_add_watch (__NR_Linux + 243) -# define __NR_inotify_rm_watch (__NR_Linux + 243) +# define __NR_inotify_add_watch (__NR_Linux + 244) +# define __NR_inotify_rm_watch (__NR_Linux + 245) # endif # if _MIPS_SIM == _MIPS_SIM_NABI32 # define __NR_inotify_init (__NR_Linux + 247) -- cgit v1.1