diff options
Diffstat (limited to 'src/pkg/net/unixsock.go')
-rw-r--r-- | src/pkg/net/unixsock.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/pkg/net/unixsock.go b/src/pkg/net/unixsock.go index d5040f9a2..ae0956958 100644 --- a/src/pkg/net/unixsock.go +++ b/src/pkg/net/unixsock.go @@ -6,10 +6,6 @@ package net -import ( - "os" -) - // UnixAddr represents the address of a Unix domain socket end point. type UnixAddr struct { Name string @@ -38,7 +34,7 @@ func (a *UnixAddr) toAddr() Addr { // ResolveUnixAddr parses addr as a Unix domain socket address. // The string net gives the network name, "unix", "unixgram" or // "unixpacket". -func ResolveUnixAddr(net, addr string) (*UnixAddr, os.Error) { +func ResolveUnixAddr(net, addr string) (*UnixAddr, error) { switch net { case "unix": case "unixpacket": |