diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2026-03-02 14:36:29 +0200 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2026-03-02 14:36:29 +0200 |
| commit | 7ece6c0d5bc34730a9a3c07813d9c4f44551b50c (patch) | |
| tree | a1ea2e906e6eba6e8b49dbd17e0c0880752242ba /platform | |
| parent | de374325783da5f55e59fd674372af4c4e837790 (diff) | |
platform/bsd.h: Remove apple-ism
Diffstat (limited to 'platform')
| -rw-r--r-- | platform/bsd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/bsd.h b/platform/bsd.h index 7a03700..bf7530d 100644 --- a/platform/bsd.h +++ b/platform/bsd.h @@ -57,7 +57,7 @@ fs_watch(struct platform *p, const char *path) close(p->dfd); p->dfd = -1; } - p->dfd = open(path, O_EVTONLY); + p->dfd = open(path, O_RDONLY); if (p->dfd == -1) return; EV_SET(&p->ev, p->dfd, EVFILT_VNODE, EV_ADD|EV_CLEAR, |