]> Cypherpunks repositories - gostls13.git/commitdiff
go/build: fix typo
authorShenghou Ma <minux@golang.org>
Sun, 10 May 2015 01:53:33 +0000 (21:53 -0400)
committerMinux Ma <minux@golang.org>
Sun, 10 May 2015 02:41:21 +0000 (02:41 +0000)
Thanks Dmitri Shuralyov for pointing it out.

Change-Id: If9c5ac0e56d601d327b2b682ee3548037439cb83
Reviewed-on: https://go-review.googlesource.com/9881
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/go/build/build.go

index 124da40d3b12204c4eb5708c717fce99c888192a..d91eb0b24d60ea51c55aa3d9f1a2b562dd5851f4 100644 (file)
@@ -1328,7 +1328,7 @@ func (ctxt *Context) goodOSArchFile(name string, allTags map[string]bool) bool {
        // build tag "linux" in that file. For Go 1.4 and beyond, we require this
        // auto-tagging to apply only to files with a non-empty prefix, so
        // "foo_linux.go" is tagged but "linux.go" is not. This allows new operating
-       // sytems, such as android, to arrive without breaking existing code with
+       // systems, such as android, to arrive without breaking existing code with
        // innocuous source code in "android.go". The easiest fix: cut everything
        // in the name before the initial _.
        i := strings.Index(name, "_")