mirror of
https://github.com/golang/go
synced 2024-11-21 15:34:45 -07:00
gofix: fix embarrassing typo in osopen.go
R=rsc, gri CC=golang-dev https://golang.org/cl/4411044
This commit is contained in:
parent
4c5dd0e1ee
commit
e6cf42c39a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user