]> Cypherpunks repositories - gostls13.git/commitdiff
fix bug: was writing off end of array
authorRob Pike <r@golang.org>
Tue, 2 Sep 2008 21:31:31 +0000 (14:31 -0700)
committerRob Pike <r@golang.org>
Tue, 2 Sep 2008 21:31:31 +0000 (14:31 -0700)
R=gri
OCL=14728
CL=14728

src/syscall/errstr_darwin.go

index 8f060c550dd337b9fdce4b61adf8e445a09e0e67..65c525501f9a5b4d24202c0910de5a5254707cc4 100644 (file)
@@ -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