summaryrefslogtreecommitdiff
path: root/src/pkg/os/inotify/inotify_linux.go
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2011-02-18 09:50:58 +0100
committerOndřej Surý <ondrej@sury.org>2011-02-18 09:50:58 +0100
commitc072558b90f1bbedc2022b0f30c8b1ac4712538e (patch)
tree67767591619e4bd8111fb05fac185cde94fb7378 /src/pkg/os/inotify/inotify_linux.go
parent5859517b767c99749a45651c15d4bae5520ebae8 (diff)
downloadgolang-upstream/2011.02.15.tar.gz
Imported Upstream version 2011.02.15upstream/2011.02.15
Diffstat (limited to 'src/pkg/os/inotify/inotify_linux.go')
-rw-r--r--src/pkg/os/inotify/inotify_linux.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/os/inotify/inotify_linux.go b/src/pkg/os/inotify/inotify_linux.go
index 9d7a07442..96c229e7b 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 {