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:
parent
0ebdd2c316
commit
ca3d62b66d
|
@ -188,7 +188,7 @@ func (p *gcParser) init(filename, id string, src io.Reader, imports map[string]*
|
||||||
// check consistency of imports map
|
// check consistency of imports map
|
||||||
for _, pkg := range imports {
|
for _, pkg := range imports {
|
||||||
if pkg.name == "" {
|
if pkg.name == "" {
|
||||||
fmt.Printf("no package name for %s\n", pkg.Path)
|
fmt.Printf("no package name for %s\n", pkg.path)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue