aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-10-25 22:21:14 -0700
committerRuss Cox <rsc@golang.org>2011-10-25 22:21:14 -0700
commit28c06182c0fdda38f63e7e8696e7a9f939dd40d3 (patch)
treeefb66ff6dc376e33fdab6136bd8442d8367539a9
parent3e52dadfd7b4c43c1d630d510eeb1b289d2ab422 (diff)
downloadgo-28c06182c0fdda38f63e7e8696e7a9f939dd40d3.tar.gz
go-28c06182c0fdda38f63e7e8696e7a9f939dd40d3.zip
exp/winfsnotify: fix govet-found bug
R=golang-dev, hectorchu CC=golang-dev https://golang.org/cl/5304044
-rw-r--r--src/pkg/exp/winfsnotify/winfsnotify_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/exp/winfsnotify/winfsnotify_test.go b/src/pkg/exp/winfsnotify/winfsnotify_test.go
index 8c53fc8de1..ff7735aa6a 100644
--- a/src/pkg/exp/winfsnotify/winfsnotify_test.go
+++ b/src/pkg/exp/winfsnotify/winfsnotify_test.go
@@ -40,7 +40,7 @@ func TestNotifyEvents(t *testing.T) {
// Add a watch for testDir
os.RemoveAll(testDir)
if err = os.Mkdir(testDir, 0777); err != nil {
- t.Fatalf("Failed to create test directory", err)
+ t.Fatalf("Failed to create test directory: %s", err)
}
defer os.RemoveAll(testDir)
err = watcher.AddWatch(testDir, mask)