summaryrefslogtreecommitdiff
path: root/test/chan/goroutines.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/chan/goroutines.go')
-rw-r--r--test/chan/goroutines.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/chan/goroutines.go b/test/chan/goroutines.go
index d8f8803df..371a17387 100644
--- a/test/chan/goroutines.go
+++ b/test/chan/goroutines.go
@@ -21,7 +21,7 @@ func f(left, right chan int) {
func main() {
var n = 10000
if len(os.Args) > 1 {
- var err os.Error
+ var err error
n, err = strconv.Atoi(os.Args[1])
if err != nil {
print("bad arg\n")