diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-04-10 02:19:26 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-04-10 02:19:26 +0000 |
commit | 4fa86d8e40dd4bb595b7ed33290021acedb001d5 (patch) | |
tree | 32eecd1209588433b2e8ff29fb8f2fa5e6969d29 /pkg/sentry/kernel/futex | |
parent | aec346f392a983687719a813ed58c6f8b54aede9 (diff) | |
parent | 78126611e61e26269d804dd18a5229820c4ddced (diff) |
Merge release-20200323.0-119-g7812661 (automated)
Diffstat (limited to 'pkg/sentry/kernel/futex')
-rwxr-xr-x | pkg/sentry/kernel/futex/futex_state_autogen.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/sentry/kernel/futex/futex_state_autogen.go b/pkg/sentry/kernel/futex/futex_state_autogen.go index d5ed3466f..68aa69daa 100755 --- a/pkg/sentry/kernel/futex/futex_state_autogen.go +++ b/pkg/sentry/kernel/futex/futex_state_autogen.go @@ -21,8 +21,8 @@ func (x *AtomicPtrBucket) load(m state.Map) { func (x *bucket) beforeSave() {} func (x *bucket) save(m state.Map) { x.beforeSave() - if !state.IsZeroValue(x.waiters) { - m.Failf("waiters is %v, expected zero", x.waiters) + if !state.IsZeroValue(&x.waiters) { + m.Failf("waiters is %#v, expected zero", &x.waiters) } } @@ -33,8 +33,8 @@ func (x *bucket) load(m state.Map) { func (x *Manager) beforeSave() {} func (x *Manager) save(m state.Map) { x.beforeSave() - if !state.IsZeroValue(x.privateBuckets) { - m.Failf("privateBuckets is %v, expected zero", x.privateBuckets) + if !state.IsZeroValue(&x.privateBuckets) { + m.Failf("privateBuckets is %#v, expected zero", &x.privateBuckets) } m.Save("sharedBucket", &x.sharedBucket) } |