1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:04:46 -07:00

fix bug: was writing off end of array

R=gri
OCL=14728
CL=14728
This commit is contained in:
Rob Pike 2008-09-02 14:31:31 -07:00
parent 32556ef9e7
commit b5eddae554

View 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