From: Rob Pike Date: Tue, 2 Sep 2008 21:31:31 +0000 (-0700) Subject: fix bug: was writing off end of array X-Git-Tag: weekly.2009-11-06~3292 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b5eddae55416127e2186e12f0c20efa9c3f196db;p=gostls13.git fix bug: was writing off end of array R=gri OCL=14728 CL=14728 --- diff --git a/src/syscall/errstr_darwin.go b/src/syscall/errstr_darwin.go index 8f060c550d..65c525501f 100644 --- a/src/syscall/errstr_darwin.go +++ b/src/syscall/errstr_darwin.go @@ -217,7 +217,6 @@ func init(){ error[EPROTO] = "Protocol error"; error[ETIME] = "STREAM ioctl timeout"; error[EOPNOTSUPP] = "Operation not supported on socket"; - error[ELAST] = "Must be equal largest errno"; } func str(val int64) string { // do it here rather than with fmt to avoid dependency