1
0
mirror of https://github.com/golang/go synced 2024-11-24 00:50:10 -07:00

net: improve error message on Plan 9

This commit is contained in:
Leon Klingele 2019-02-01 21:05:10 +01:00
parent fdad0e8764
commit 03f039d0ab
No known key found for this signature in database
GPG Key ID: 0C8AF48831EEC211

View File

@ -159,7 +159,7 @@ func interfaceAddrTable(ifi *Interface) ([]Addr, error) {
}
line, ok := statusf.readLine()
if !ok {
return nil, errors.New("cannot parse IP address for interface: " + status)
return nil, errors.New("cannot read IP address for interface: " + status)
}
// This assumes only a single address for the interface.