mirror of
https://github.com/golang/go.git
synced 2025-05-30 03:41:33 +00:00
fix bug: was writing off end of array
R=gri OCL=14728 CL=14728
This commit is contained in:
parent
32556ef9e7
commit
b5eddae554
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user