diff options
author | Josh Bleecher Snyder <josh@tailscale.com> | 2021-01-26 08:40:15 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-01-26 22:36:10 +0100 |
commit | d3a2b74df28ea7d7e90918c4431a38853990ce72 (patch) | |
tree | 5e97f9b7dc3bd03afae5eea515e51582f36b2c73 | |
parent | 8114c9db5ffc8c63e7f58eb06228ddad4ee2e1c3 (diff) |
device: remove extra error arg
Caught by go vet.
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
-rw-r--r-- | device/uapi.go | 2 |
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) |