summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/futex/futex.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/kernel/futex/futex.go')
-rw-r--r--pkg/sentry/kernel/futex/futex.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/futex/futex.go b/pkg/sentry/kernel/futex/futex.go
index b3ba57a2c..15e3e5e2c 100644
--- a/pkg/sentry/kernel/futex/futex.go
+++ b/pkg/sentry/kernel/futex/futex.go
@@ -197,7 +197,7 @@ func bucketIndexForAddr(addr uintptr) uintptr {
// Manager holds futex state for a single virtual address space.
type Manager struct {
- buckets [bucketCount]bucket
+ buckets [bucketCount]bucket `state:"zerovalue"`
}
// NewManager returns an initialized futex manager.