fix compile warning in inotify._inotify