diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-01-07 02:41:27 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-01-07 02:41:27 -0500 |
commit | 2750337379d1314026d174cd5b49e3f8ea590637 (patch) | |
tree | 85e53ae7f42a3ff4c90f53ff606ffabe12a347b7 /src/linux | |
parent | dbe221ecff2dd8a3d4d005d80b81064e156f8f4a (diff) | |
download | musl-2750337379d1314026d174cd5b49e3f8ea590637.tar.gz musl-2750337379d1314026d174cd5b49e3f8ea590637.tar.bz2 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 'src/linux')
-rw-r--r-- | src/linux/inotify.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |