summaryrefslogtreecommitdiffhomepage
path: root/device
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josh@tailscale.com>2021-01-26 08:40:15 -0800
committerJason A. Donenfeld <Jason@zx2c4.com>2021-01-26 22:36:10 +0100
commitd3a2b74df28ea7d7e90918c4431a38853990ce72 (patch)
tree5e97f9b7dc3bd03afae5eea515e51582f36b2c73 /device
parent8114c9db5ffc8c63e7f58eb06228ddad4ee2e1c3 (diff)
device: remove extra error arg
Caught by go vet. Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
Diffstat (limited to 'device')
-rw-r--r--device/uapi.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/uapi.go b/device/uapi.go
index 110f48a..2110a67 100644
--- a/device/uapi.go
+++ b/device/uapi.go
@@ -408,7 +408,7 @@ func (device *Device) IpcHandle(socket net.Conn) {
return
}
if nextByte != '\n' {
- err = ipcErrorf(ipc.IpcErrorInvalid, "trailing character in UAPI get: %c", nextByte, err)
+ err = ipcErrorf(ipc.IpcErrorInvalid, "trailing character in UAPI get: %c", nextByte)
break
}
err = device.IpcGetOperation(buffered.Writer)