From d3a2b74df28ea7d7e90918c4431a38853990ce72 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Tue, 26 Jan 2021 08:40:15 -0800 Subject: [PATCH] device: remove extra error arg Caught by go vet. Signed-off-by: Josh Bleecher Snyder --- device/uapi.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)