diff options
Diffstat (limited to 'fsnotify.go')
| -rw-r--r-- | fsnotify.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fsnotify.go b/fsnotify.go index 8e00527..23809e6 100644 --- a/fsnotify.go +++ b/fsnotify.go @@ -14,7 +14,7 @@ func watchSysClassNet() { // Create new watcher. watcher, err := fsnotify.NewWatcher() if err != nil { - log.Println(logError, "watchSysClassNet() failed:", err) + debug(LogError, "watchSysClassNet() failed:", err) return } defer watcher.Close() @@ -43,7 +43,7 @@ func watchSysClassNet() { // Add a path. err = watcher.Add("/tmp") if err != nil { - log.Println(logError, "watchSysClassNet() watcher.Add() failed:", err) + debug(LogError, "watchSysClassNet() watcher.Add() failed:", err) return } |
