From: Russ Cox Date: Wed, 26 Oct 2011 05:21:14 +0000 (-0700) Subject: exp/winfsnotify: fix govet-found bug X-Git-Tag: weekly.2011-10-26~10 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=28c06182c0fdda38f63e7e8696e7a9f939dd40d3;p=gostls13.git exp/winfsnotify: fix govet-found bug R=golang-dev, hectorchu CC=golang-dev https://golang.org/cl/5304044 --- 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)