Commit b5eddae5 authored by Rob Pike's avatar Rob Pike

fix bug: was writing off end of array

R=gri
OCL=14728
CL=14728
parent 32556ef9
...@@ -217,7 +217,6 @@ func init(){ ...@@ -217,7 +217,6 @@ func init(){
error[EPROTO] = "Protocol error"; error[EPROTO] = "Protocol error";
error[ETIME] = "STREAM ioctl timeout"; error[ETIME] = "STREAM ioctl timeout";
error[EOPNOTSUPP] = "Operation not supported on socket"; 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 func str(val int64) string { // do it here rather than with fmt to avoid dependency
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment