From e6cf42c39a77efd911b60bd4c1eb6e3bc88d1fc8 Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Wed, 13 Apr 2011 13:49:24 -0700 Subject: [PATCH] gofix: fix embarrassing typo in osopen.go R=rsc, gri CC=golang-dev https://golang.org/cl/4411044 --- src/cmd/gofix/osopen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/gofix/osopen.go b/src/cmd/gofix/osopen.go index 2acf1c45568..8eb5d065514 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