aboutsummaryrefslogtreecommitdiffstats
path: root/device/uapi.go
diff options
context:
space:
mode:
Diffstat (limited to 'device/uapi.go')
-rw-r--r--device/uapi.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/device/uapi.go b/device/uapi.go
index 5c65917..0cb34ea 100644
--- a/device/uapi.go
+++ b/device/uapi.go
@@ -21,11 +21,11 @@ type IPCError struct {
int64
}
-func (s *IPCError) Error() string {
+func (s IPCError) Error() string {
return fmt.Sprintf("IPC error: %d", s.int64)
}
-func (s *IPCError) ErrorCode() int64 {
+func (s IPCError) ErrorCode() int64 {
return s.int64
}