From: Rob Pike Date: Wed, 13 Apr 2011 20:49:24 +0000 (-0700) Subject: gofix: fix embarrassing typo in osopen.go X-Git-Tag: weekly.2011-04-13~15 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e6cf42c39a77efd911b60bd4c1eb6e3bc88d1fc8;p=gostls13.git gofix: fix embarrassing typo in osopen.go R=rsc, gri CC=golang-dev https://golang.org/cl/4411044 --- diff --git a/src/cmd/gofix/osopen.go b/src/cmd/gofix/osopen.go index 2acf1c4556..8eb5d06551 100644 --- a/src/cmd/gofix/osopen.go +++ b/src/cmd/gofix/osopen.go @@ -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