]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/api: fix typo.
authorNigel Tao <nigeltao@golang.org>
Tue, 14 Feb 2012 01:37:57 +0000 (12:37 +1100)
committerNigel Tao <nigeltao@golang.org>
Tue, 14 Feb 2012 01:37:57 +0000 (12:37 +1100)
R=gri, r
CC=golang-dev
https://golang.org/cl/5659048

src/cmd/api/goapi.go

index 62ab606c65b9cbc0aa1619e8aba09c08d4b93fcc..4746ec8e0bca7c9ec94fc789eb694e83f9b865f0 100644 (file)
@@ -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)))