From: Mathieu Lonjaret Date: Fri, 11 Feb 2011 13:30:34 +0000 (-0500) Subject: fix example in inotify X-Git-Tag: weekly.2011-02-15~28 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=047b023119fe6f60e08676697e52bfcb3e33fb04;p=gostls13.git fix example in inotify R=golang-dev, adg CC=golang-dev https://golang.org/cl/4174045 --- diff --git a/src/pkg/os/inotify/inotify_linux.go b/src/pkg/os/inotify/inotify_linux.go index 9d7a074424..96c229e7b7 100644 --- a/src/pkg/os/inotify/inotify_linux.go +++ b/src/pkg/os/inotify/inotify_linux.go @@ -8,11 +8,11 @@ This package implements a wrapper for the Linux inotify system. Example: watcher, err := inotify.NewWatcher() if err != nil { - log.Exit(err) + log.Fatal(err) } err = watcher.Watch("/tmp") if err != nil { - log.Exit(err) + log.Fatal(err) } for { select {