diff options
author | Rob Pike <r@golang.org> | 2011-04-13 13:49:24 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2011-04-13 13:49:24 -0700 |
commit | e6cf42c39a77efd911b60bd4c1eb6e3bc88d1fc8 (patch) | |
tree | bba9ec279d16795b21344382f9d598a56c890373 | |
parent | 4c5dd0e1eed79cf530c6963ce34ce78d950e0e79 (diff) | |
download | go-e6cf42c39a77efd911b60bd4c1eb6e3bc88d1fc8.tar.gz go-e6cf42c39a77efd911b60bd4c1eb6e3bc88d1fc8.zip |
gofix: fix embarrassing typo in osopen.go
R=rsc, gri
CC=golang-dev
https://golang.org/cl/4411044
-rw-r--r-- | src/cmd/gofix/osopen.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |