Satisfy nogo

PiperOrigin-RevId: 403479257
This commit is contained in:
Ghanan Gowripalan
2021-10-15 15:19:11 -07:00
committed by gVisor bot
parent e4fc15bd88
commit 706f6f35f4
+1 -1
View File
@@ -630,7 +630,7 @@ func makePipe() (c1, c2 net.Conn, stop func(), err error) {
AddressWithPrefix: ip.WithPrefix(),
}
if err := s.AddProtocolAddress(NICID, protocolAddr, stack.AddressProperties{}); err != nil {
return nil, nil, nil, fmt.Errorf("AddProtocolAddress(%d, %+v, {}): %w", NICID, protocolAddr, err)
return nil, nil, nil, fmt.Errorf("AddProtocolAddress(%d, %+v, {}): %s", NICID, protocolAddr, err)
}
l, err := ListenTCP(s, addr, ipv4.ProtocolNumber)