summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/inotify.c
diff options
context:
space:
mode:
authorKevin Cernekee <cernekee@gmail.com>2012-04-08 11:42:59 -0700
committerMike Frysinger <vapier@gentoo.org>2012-04-08 16:03:26 -0400
commit0f45e8a2794ccf64f6993ca8e84ce4125d7ac9a2 (patch)
tree854d83bd7b1e6b75f818c66e5f7a47bafa2b776d /libc/sysdeps/linux/common/inotify.c
parentc10a5588b3c28d328bfe5fbcaa17a3e627972d99 (diff)
inotify_rm_watch: Change second argument to int
2009-01-30 Ulrich Drepper <drepper@redhat.com> [BZ #7040] * sysdeps/unix/sysv/linux/sys/inotify.h: Second parameter of inotify_rm_watch should have type int. This change allows us to copy inotify.h verbatim from glibc into uClibc. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/sysdeps/linux/common/inotify.c')
-rw-r--r--libc/sysdeps/linux/common/inotify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/inotify.c b/libc/sysdeps/linux/common/inotify.c
index e35f0430c..e2f383671 100644
--- a/libc/sysdeps/linux/common/inotify.c
+++ b/libc/sysdeps/linux/common/inotify.c
@@ -24,5 +24,5 @@ _syscall3(int, inotify_add_watch, int, fd, const char *, path, uint32_t, mask)
#endif
#ifdef __NR_inotify_rm_watch
-_syscall2(int, inotify_rm_watch, int, fd, uint32_t, wd)
+_syscall2(int, inotify_rm_watch, int, fd, int, wd)
#endif