From fa363599d9722b55225b564d85cd792b3c3ff6e9 Mon Sep 17 00:00:00 2001 From: AdamKorcz <44787359+AdamKorcz@users.noreply.github.com> Date: Sat, 6 Aug 2022 17:04:16 +0100 Subject: [PATCH] gvisor: fix broken build (#8173) Signed-off-by: AdamKorcz --- projects/gvisor/state_fuzzer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/gvisor/state_fuzzer.go b/projects/gvisor/state_fuzzer.go index b44f07a50..c043b8add 100644 --- a/projects/gvisor/state_fuzzer.go +++ b/projects/gvisor/state_fuzzer.go @@ -18,13 +18,13 @@ package fuzzing import ( "bytes" "context" - "gvisor.dev/gvisor/pkg/buffer" + "gvisor.dev/gvisor/pkg/bufferv2" "gvisor.dev/gvisor/pkg/state" ) func FuzzStateLoad(data []byte) int { ctx := context.Background() - var toLoad *buffer.View + var toLoad *bufferv2.View _, _ = state.Load(ctx, bytes.NewReader(data), toLoad) return 1 }