diff options
Diffstat (limited to 'libgo/go/syscall/route_freebsd.go')
-rw-r--r-- | libgo/go/syscall/route_freebsd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/syscall/route_freebsd.go b/libgo/go/syscall/route_freebsd.go index 0d61d08b08c..094e17044db 100644 --- a/libgo/go/syscall/route_freebsd.go +++ b/libgo/go/syscall/route_freebsd.go @@ -63,7 +63,7 @@ func (m *InterfaceMulticastAddrMessage) sockaddr() (sas []Sockaddr) { switch i { case RTAX_IFA: sa, e := anyToSockaddr((*RawSockaddrAny)(unsafe.Pointer(rsa))) - if e != 0 { + if e != nil { return nil } sas = append(sas, sa) |