Commit 3071f8c8 authored by Russ Cox's avatar Russ Cox

fix a few type errors, make ErrorString a value

will submit with fixed compiler

R=r
DELTA=2  (0 added, 0 deleted, 2 changed)
OCL=28371
CL=28379
parent a6ba5ec5
......@@ -14,8 +14,8 @@ type Error interface {
// A helper type that can be embedded or wrapped to simplify satisfying
// Error.
type ErrorString string
func (e *ErrorString) String() string {
return *e
func (e ErrorString) String() string {
return e
}
// Errno is the Unix error number. Names such as EINVAL are simple
......
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