diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2020-01-27 12:55:39 -0800 |
---|---|---|
committer | Eric Curtin <ericcurtin17@gmail.com> | 2020-01-27 20:55:39 +0000 |
commit | 7d65496128986ac6862d2c897e411a522156c86c (patch) | |
tree | 8cfdd6031381090413f0b1b6cd864b7aa1ccddf5 | |
parent | 491521c09dc40152bb7ad454f531486889681848 (diff) | |
download | inotify-tools-7d65496128986ac6862d2c897e411a522156c86c.zip inotify-tools-7d65496128986ac6862d2c897e411a522156c86c.tar.gz inotify-tools-7d65496128986ac6862d2c897e411a522156c86c.tar.bz2 |
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 <rongqing.li@windriver.com>
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
-rw-r--r-- | libinotifytools/src/inotifytools/inotify-nosys.h | 4 |
1 files 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) |