diff options
-rw-r--r-- | include/sys/inotify.h | 2 | ||||
-rw-r--r-- | src/linux/inotify.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/inotify.h b/include/sys/inotify.h index a5bf96a6..46638cac 100644 --- a/include/sys/inotify.h +++ b/include/sys/inotify.h @@ -48,7 +48,7 @@ struct inotify_event { int inotify_init(void); int inotify_init1(int); int inotify_add_watch(int, const char *, uint32_t); -int inotify_rm_watch(int, uint32_t); +int inotify_rm_watch(int, int); #ifdef __cplusplus } diff --git a/src/linux/inotify.c b/src/linux/inotify.c index d3b4fa0b..a417c891 100644 --- a/src/linux/inotify.c +++ b/src/linux/inotify.c @@ -15,7 +15,7 @@ int inotify_add_watch(int fd, const char *pathname, uint32_t mask) return syscall(SYS_inotify_add_watch, fd, pathname, mask); } -int inotify_rm_watch(int fd, uint32_t wd) +int inotify_rm_watch(int fd, int wd) { return syscall(SYS_inotify_rm_watch, fd, wd); } |