global cleanup to use the new syscall interface
[musl] / src / linux / inotify_rm_watch.c
index 0772d71..cba597e 100644 (file)
@@ -3,5 +3,5 @@
 
 int inotify_rm_watch(int fd, uint32_t wd)
 {
 
 int inotify_rm_watch(int fd, uint32_t wd)
 {
-       return syscall2(__NR_inotify_rm_watch, fd, wd);
+       return syscall(SYS_inotify_rm_watch, fd, wd);
 }
 }