From 6fdd0893c3ebf57e5a9ba2af569c595c859ab902 Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 15 Apr 2016 11:06:57 +0200 Subject: all: fix go vet warnings --- rpc/ipc_unix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpc/ipc_unix.go') diff --git a/rpc/ipc_unix.go b/rpc/ipc_unix.go index 310286e96..9ece01240 100644 --- a/rpc/ipc_unix.go +++ b/rpc/ipc_unix.go @@ -41,5 +41,5 @@ func ipcListen(endpoint string) (net.Listener, error) { // newIPCConnection will connect to a Unix socket on the given endpoint. func newIPCConnection(endpoint string) (net.Conn, error) { - return net.DialUnix("unix", nil, &net.UnixAddr{endpoint, "unix"}) + return net.DialUnix("unix", nil, &net.UnixAddr{Name: endpoint, Net: "unix"}) } -- cgit v1.2.3