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
1 changed files with 1 additions and 1 deletions

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.