From 686fe1357a25300ddd6b9f3975119112b2029cae Mon Sep 17 00:00:00 2001 From: Nathan Youngman Date: Wed, 2 Mar 2016 20:51:59 -0700 Subject: [PATCH] fix spelling error thanks to Go Report Card https://goreportcard.com/report/github.com/fsnotify/fsnotify --- inotify.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inotify.go b/inotify.go index 06f4bba..780b2a0 100644 --- a/inotify.go +++ b/inotify.go @@ -221,7 +221,7 @@ func (w *Watcher) readEvents() { // If EOF is received. This should really never happen. err = io.EOF } else if n < 0 { - // If an error occured while reading. + // If an error occurred while reading. err = errno } else { // Read was too short. -- 2.50.1