X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/c8536ec4058302765b1259da83d5699b1e421c21..51caf50203be08ba6f15e0d72b777f036d6bee72:/src/inotify.c diff --git a/src/inotify.c b/src/inotify.c index 0bbcd44333..f4f850bf18 100644 --- a/src/inotify.c +++ b/src/inotify.c @@ -387,7 +387,7 @@ See inotify_rm_watch(2) for more information. /* Cleanup if no more files are watched. */ if (NILP (watch_list)) { - close (inotifyfd); + emacs_close (inotifyfd); delete_read_fd (inotifyfd); inotifyfd = -1; }