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/mm | |
parent | aec346f392a983687719a813ed58c6f8b54aede9 (diff) | |
parent | 78126611e61e26269d804dd18a5229820c4ddced (diff) |
Merge release-20200323.0-119-g7812661 (automated)
Diffstat (limited to 'pkg/sentry/mm')
-rwxr-xr-x | pkg/sentry/mm/mm_state_autogen.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pkg/sentry/mm/mm_state_autogen.go b/pkg/sentry/mm/mm_state_autogen.go index ef95c2836..2d0e5f5f7 100755 --- a/pkg/sentry/mm/mm_state_autogen.go +++ b/pkg/sentry/mm/mm_state_autogen.go @@ -33,8 +33,8 @@ func (x *ioResult) load(m state.Map) { func (x *AIOContext) beforeSave() {} func (x *AIOContext) save(m state.Map) { x.beforeSave() - if !state.IsZeroValue(x.dead) { - m.Failf("dead is %v, expected zero", x.dead) + if !state.IsZeroValue(&x.dead) { + m.Failf("dead is %#v, expected zero", &x.dead) } m.Save("results", &x.results) m.Save("maxOutstanding", &x.maxOutstanding) @@ -141,11 +141,11 @@ func (x *ioEntry) load(m state.Map) { func (x *MemoryManager) save(m state.Map) { x.beforeSave() - if !state.IsZeroValue(x.active) { - m.Failf("active is %v, expected zero", x.active) + if !state.IsZeroValue(&x.active) { + m.Failf("active is %#v, expected zero", &x.active) } - if !state.IsZeroValue(x.captureInvalidations) { - m.Failf("captureInvalidations is %v, expected zero", x.captureInvalidations) + if !state.IsZeroValue(&x.captureInvalidations) { + m.Failf("captureInvalidations is %#v, expected zero", &x.captureInvalidations) } m.Save("p", &x.p) m.Save("mfp", &x.mfp) |