ogle/probe: fix typos.
LGTM=r
R=r
https://golang.org/cl/62580044
diff --git a/probe/net_test.go b/probe/net_test.go
index a107419..7fbb4ad 100644
--- a/probe/net_test.go
+++ b/probe/net_test.go
@@ -174,7 +174,7 @@
conn := newConn(t)
defer conn.close()
- // A big array.
+ // A big slice.
data := make([]byte, 3*len(pipe{}.buf))
noise := 17
for i := range data {
@@ -183,13 +183,13 @@
}
// TODO: To be righteous we should put a memory barrier here.
- // Read the elements in pseudo-random order.
+ // Read the elements in one big call.
tmp := make([]byte, len(data))
conn.output.WriteByte('r')
// Address.
n := putUvarint(tmp[:], uint64(addr(&data[0])))
conn.output.Write(tmp[:n])
- // Length
+ // Length.
n = putUvarint(tmp[:], uint64(len(data)))
conn.output.Write(tmp[:n])
// Send it.