From ca3d62b66d299ac0baa7cf969d117bb8100af731 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Thu, 26 Sep 2013 20:34:35 -0700 Subject: [PATCH] go.tools/go/types: fix incorrect argument to fmt.Printf (found by r using the vet tool) R=adonovan CC=golang-dev https://golang.org/cl/14013043 --- go/types/gcimporter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/types/gcimporter.go b/go/types/gcimporter.go index 2e6f80b8..e8766e84 100644 --- a/go/types/gcimporter.go +++ b/go/types/gcimporter.go @@ -188,7 +188,7 @@ func (p *gcParser) init(filename, id string, src io.Reader, imports map[string]* // check consistency of imports map for _, pkg := range imports { if pkg.name == "" { - fmt.Printf("no package name for %s\n", pkg.Path) + fmt.Printf("no package name for %s\n", pkg.path) } } }