diff --git a/src/cmd/api/goapi.go b/src/cmd/api/goapi.go index 62ab606c65b..4746ec8e0bc 100644 --- a/src/cmd/api/goapi.go +++ b/src/cmd/api/goapi.go @@ -767,7 +767,7 @@ func (w *Walker) walkStructType(name string, t *ast.StructType) { case *ast.SelectorExpr: w.emitFeature(fmt.Sprintf("embedded %s", w.nodeString(typ))) default: - log.Fatal("unable to handle embedded starexpr before %T", typ) + log.Fatalf("unable to handle embedded starexpr before %T", typ) } case *ast.SelectorExpr: w.emitFeature(fmt.Sprintf("embedded %s", w.nodeString(typ)))