diff options
author | Ting-Yu Wang <anivia@google.com> | 2020-10-23 19:22:07 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-23 19:24:09 -0700 |
commit | 8dfbec28a47483e0c03a5c94331081d7219f215b (patch) | |
tree | ed4412a06fadbd0a8a541f772f92439508ba0e02 /pkg/sentry/socket/unix | |
parent | 3ed8ace87123a5cee4fd3aa3751bb24c151749ff (diff) |
Fix nogo tests in //pkg/sentry/socket/...
PiperOrigin-RevId: 338784921
Diffstat (limited to 'pkg/sentry/socket/unix')
-rw-r--r-- | pkg/sentry/socket/unix/transport/unix.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/socket/unix/transport/unix.go b/pkg/sentry/socket/unix/transport/unix.go index 4b9e119a8..a7d1068a6 100644 --- a/pkg/sentry/socket/unix/transport/unix.go +++ b/pkg/sentry/socket/unix/transport/unix.go @@ -487,7 +487,7 @@ func (q *streamQueueReceiver) Recv(ctx context.Context, data [][]byte, wantCreds c := q.control.Clone() // Don't consume data since we are peeking. - copied, data, _ = vecCopy(data, q.buffer) + copied, _, _ = vecCopy(data, q.buffer) return copied, copied, c, false, q.addr, notify, nil } |