summaryrefslogtreecommitdiffhomepage
path: root/device/uapi.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-03-19 00:34:04 -0600
committerJason A. Donenfeld <Jason@zx2c4.com>2019-03-19 00:34:04 -0600
commit2c51d6af48b8c6115852d72759c64aaaae5007d5 (patch)
tree050f8e17f2735d39891bfa049469c510dac493ea /device/uapi.go
parent03f2e2614ad38317db77b499155995ee5e3d68c2 (diff)
uapi: report endpoint error
Diffstat (limited to 'device/uapi.go')
-rw-r--r--device/uapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/uapi.go b/device/uapi.go
index 0cb34ea..195bd81 100644
--- a/device/uapi.go
+++ b/device/uapi.go
@@ -298,7 +298,7 @@ func (device *Device) IpcSetOperation(socket *bufio.Reader) *IPCError {
}()
if err != nil {
- logError.Println("Failed to set endpoint:", value)
+ logError.Println("Failed to set endpoint:", err, ":", value)
return &IPCError{ipc.IpcErrorInvalid}
}