From 047b023119fe6f60e08676697e52bfcb3e33fb04 Mon Sep 17 00:00:00 2001 From: Mathieu Lonjaret Date: Fri, 11 Feb 2011 08:30:34 -0500 Subject: [PATCH] fix example in inotify R=golang-dev, adg CC=golang-dev https://golang.org/cl/4174045 --- src/pkg/os/inotify/inotify_linux.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pkg/os/inotify/inotify_linux.go b/src/pkg/os/inotify/inotify_linux.go index 9d7a074424d..96c229e7b74 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 {