From: Nathan Youngman Date: Thu, 3 Mar 2016 03:51:59 +0000 (-0700) Subject: fix spelling error X-Git-Tag: v1.7.2~202 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=686fe1357a25300ddd6b9f3975119112b2029cae;p=fsnotify.git fix spelling error thanks to Go Report Card https://goreportcard.com/report/github.com/fsnotify/fsnotify --- 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.