summaryrefslogtreecommitdiff
path: root/src/lib/os/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/os/error.go')
-rw-r--r--src/lib/os/error.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/os/error.go b/src/lib/os/error.go
index f2960a59c..5acefd2ad 100644
--- a/src/lib/os/error.go
+++ b/src/lib/os/error.go
@@ -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