summaryrefslogtreecommitdiff
path: root/doc/progs/helloworld3.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-01-16 14:58:14 -0800
committerRuss Cox <rsc@golang.org>2009-01-16 14:58:14 -0800
commitc000d2eb1c11999b15772ad582b364604f6f8acf (patch)
tree321251a8cd180ad7856af54e8e531850d0735fb0 /doc/progs/helloworld3.go
parent969365a06e210a3a3c969a99585e868aecc6af8a (diff)
downloadgolang-c000d2eb1c11999b15772ad582b364604f6f8acf.tar.gz
casify, cleanup sys
R=r OCL=22978 CL=22984
Diffstat (limited to 'doc/progs/helloworld3.go')
-rw-r--r--doc/progs/helloworld3.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/progs/helloworld3.go b/doc/progs/helloworld3.go
index f6decccbf..59aebc721 100644
--- a/doc/progs/helloworld3.go
+++ b/doc/progs/helloworld3.go
@@ -12,6 +12,6 @@ func main() {
file, err := fd.Open("/does/not/exist", 0, 0);
if file == nil {
print("can't open file; err=", err.String(), "\n");
- sys.exit(1);
+ sys.Exit(1);
}
}