fix inotify_add_watch signature