From c1ba1a0fec4aed430709030f98a3bdb90bfeea16 Mon Sep 17 00:00:00 2001 From: Ondřej Surý Date: Thu, 28 Apr 2011 10:35:15 +0200 Subject: Imported Upstream version 2011.04.27 --- doc/progs/helloworld3.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/progs/helloworld3.go') diff --git a/doc/progs/helloworld3.go b/doc/progs/helloworld3.go index adbcea324..5bb0be218 100644 --- a/doc/progs/helloworld3.go +++ b/doc/progs/helloworld3.go @@ -13,7 +13,7 @@ import ( func main() { hello := []byte("hello, world\n") file.Stdout.Write(hello) - f, err := file.Open("/does/not/exist", 0, 0) + f, err := file.Open("/does/not/exist") if f == nil { fmt.Printf("can't open file; err=%s\n", err.String()) os.Exit(1) -- cgit v1.2.3