summaryrefslogtreecommitdiff
path: root/libgo/go/net/port_unix.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/net/port_unix.go')
-rw-r--r--libgo/go/net/port_unix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/net/port_unix.go b/libgo/go/net/port_unix.go
index 348c771c351..badf8abc79b 100644
--- a/libgo/go/net/port_unix.go
+++ b/libgo/go/net/port_unix.go
@@ -69,5 +69,5 @@ func goLookupPort(network, service string) (port int, err error) {
return
}
}
- return 0, &AddrError{"unknown port", network + "/" + service}
+ return 0, &AddrError{Err: "unknown port", Addr: network + "/" + service}
}