]> go.fuhry.dev Git - fsnotify.git/commitdiff
fix spelling error
authorNathan Youngman <git@nathany.com>
Thu, 3 Mar 2016 03:51:59 +0000 (20:51 -0700)
committerNathan Youngman <git@nathany.com>
Thu, 3 Mar 2016 03:51:59 +0000 (20:51 -0700)
thanks to Go Report Card

https://goreportcard.com/report/github.com/fsnotify/fsnotify

inotify.go

index 06f4bba88e08658a1261132622b41d240b113487..780b2a005d5c557d2a623510c2128026370ce2b9 100644 (file)
@@ -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.