From: bronze1man Date: Mon, 18 Nov 2013 14:37:22 +0000 (+0800) Subject: gofmyt X-Git-Tag: v1.7.2~329^2 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=d78b30607acf57aa050a7af5719a90a6aa1ee8be;p=fsnotify.git gofmyt --- diff --git a/fsnotify_linux.go b/fsnotify_linux.go index 7ad3aa4..79b0ec5 100644 --- a/fsnotify_linux.go +++ b/fsnotify_linux.go @@ -214,7 +214,7 @@ func (w *Watcher) readEvents() { default: } - n, errno = syscall.Read(w.fd, buf[0:]) + n, errno = syscall.Read(w.fd, buf[0:]) // If EOF is received if n == 0 {