From 2750337379d1314026d174cd5b49e3f8ea590637 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 7 Jan 2014 02:41:27 -0500 Subject: fix incorrect type for wd argument of inotify_rm_watch this was wrong since the original commit adding inotify, and I don't see any explanation for it. not even the man pages have it wrong. it was most likely a copy-and-paste error. --- include/sys/inotify.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 } -- cgit v1.2.1