about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-01-07 02:41:27 -0500
committerRich Felker <dalias@aerifal.cx>2014-01-07 02:41:27 -0500
commit2750337379d1314026d174cd5b49e3f8ea590637 (patch)
tree85e53ae7f42a3ff4c90f53ff606ffabe12a347b7 /include
parentdbe221ecff2dd8a3d4d005d80b81064e156f8f4a (diff)
downloadmusl-2750337379d1314026d174cd5b49e3f8ea590637.tar.gz
musl-2750337379d1314026d174cd5b49e3f8ea590637.tar.xz
musl-2750337379d1314026d174cd5b49e3f8ea590637.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/sys/inotify.h2
1 files changed, 1 insertions, 1 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
 }