Skip to content

Commit 5637657

Browse files
committed
add a comment to ENOBUFS
1 parent a8c0461 commit 5637657

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

watcher.go

+1
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ func (w *watcher) tryWrite(fd int, pcb *aiocb) bool {
455455
}
456456

457457
// On MacOS/BSDs, if mbufs ran out, a ENOBUFS will be returned
458+
// https://man.freebsd.org/cgi/man.cgi?query=mbuf&sektion=9&format=html
458459
if ew == syscall.ENOBUFS {
459460
return false
460461
}

0 commit comments

Comments
 (0)