summaryrefslogtreecommitdiff
path: root/src/syscall
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-09-02 14:31:31 -0700
committerRob Pike <r@golang.org>2008-09-02 14:31:31 -0700
commit194203e2a355d4a0b36533107ed2fea730011c2b (patch)
tree20fb32a2bd50251cb650c892ac1883d4eb75e4da /src/syscall
parentc7d1800cdd5104a3f5ef3963ab325b941762c37c (diff)
downloadgo-194203e2a355d4a0b36533107ed2fea730011c2b.tar.gz
fix bug: was writing off end of array
R=gri OCL=14728 CL=14728
Diffstat (limited to 'src/syscall')
-rw-r--r--src/syscall/errstr_darwin.go1
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