]> Cypherpunks repositories - gostls13.git/commitdiff
gofix: fix embarrassing typo in osopen.go
authorRob Pike <r@golang.org>
Wed, 13 Apr 2011 20:49:24 +0000 (13:49 -0700)
committerRob Pike <r@golang.org>
Wed, 13 Apr 2011 20:49:24 +0000 (13:49 -0700)
R=rsc, gri
CC=golang-dev
https://golang.org/cl/4411044

src/cmd/gofix/osopen.go

index 2acf1c455689451883247623ccdb6d0691f51d8c..8eb5d06551486a0d57812b5320e8750865c07e47 100644 (file)
@@ -71,7 +71,7 @@ func isCreateFlag(flag ast.Expr) bool {
        foundCreate := false
        foundTrunc := false
        // OR'ing of flags: is O_CREATE on?  + or | would be fine; we just look for os.O_CREATE
-       // and don't worry about the actual opeator.
+       // and don't worry about the actual operator.
        p := flag.Pos()
        for {
                lhs := flag