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
This commit is contained in:
Robert Griesemer 2013-09-26 20:34:35 -07:00
parent 0ebdd2c316
commit ca3d62b66d
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}
}
}