summaryrefslogtreecommitdiffhomepage
path: root/test/packetimpact/testbench/connections.go
diff options
context:
space:
mode:
authorJulian Elischer <jrelis@google.com>2020-11-13 17:11:12 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-13 17:13:11 -0800
commit0fee59c8c84bff0185e681b4550ba077a65739f2 (patch)
tree182fa2dd9b5101237b89f2abbc3277f1d6c65986 /test/packetimpact/testbench/connections.go
parenta1cb52447f3e9414211b9e0558f1231ae3e59329 (diff)
Requested Comment/Message wording changes
PiperOrigin-RevId: 342366891
Diffstat (limited to 'test/packetimpact/testbench/connections.go')
-rw-r--r--test/packetimpact/testbench/connections.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/packetimpact/testbench/connections.go b/test/packetimpact/testbench/connections.go
index 030a73c3c..919b4fd25 100644
--- a/test/packetimpact/testbench/connections.go
+++ b/test/packetimpact/testbench/connections.go
@@ -72,7 +72,7 @@ func pickPort(domain, typ int) (fd int, port uint16, err error) {
}
sa, err = unix.Getsockname(fd)
if err != nil {
- return -1, 0, fmt.Errorf("fail in Getsocketname(%d): %w", fd, err)
+ return -1, 0, fmt.Errorf("unix.Getsocketname(%d): %w", fd, err)
}
port, err = portFromSockaddr(sa)
if err != nil {