summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--pkg/abi/linux/errors.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/abi/linux/errors.go b/pkg/abi/linux/errors.go
index 01e4095b8..e5f6f3f07 100644
--- a/pkg/abi/linux/errors.go
+++ b/pkg/abi/linux/errors.go
@@ -25,8 +25,8 @@ func (e *Errno) Number() int {
return e.number
}
-// Error implements error.Error.
-func (e *Errno) Error() string {
+// String implements fmt.Stringer.String.
+func (e *Errno) String() string {
return e.name
}