diff options
author | Rob Pike <r@golang.org> | 2008-09-02 14:31:31 -0700 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2008-09-02 14:31:31 -0700 |
commit | d67f2e97e1a83c4dbce56e390e26533ffc6d98f2 (patch) | |
tree | 20fb32a2bd50251cb650c892ac1883d4eb75e4da /src/syscall/errstr_darwin.go | |
parent | 7a1e75d9e0d7bd9db22878e10faf6c69eb705c97 (diff) | |
download | golang-d67f2e97e1a83c4dbce56e390e26533ffc6d98f2.tar.gz |
fix bug: was writing off end of array
R=gri
OCL=14728
CL=14728
Diffstat (limited to 'src/syscall/errstr_darwin.go')
-rw-r--r-- | src/syscall/errstr_darwin.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/syscall/errstr_darwin.go b/src/syscall/errstr_darwin.go index 8f060c550..65c525501 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 |