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/fs/tty | |
parent | aec346f392a983687719a813ed58c6f8b54aede9 (diff) | |
parent | 78126611e61e26269d804dd18a5229820c4ddced (diff) |
Merge release-20200323.0-119-g7812661 (automated)
Diffstat (limited to 'pkg/sentry/fs/tty')
-rwxr-xr-x | pkg/sentry/fs/tty/tty_state_autogen.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/sentry/fs/tty/tty_state_autogen.go b/pkg/sentry/fs/tty/tty_state_autogen.go index 9963096dd..25d601072 100755 --- a/pkg/sentry/fs/tty/tty_state_autogen.go +++ b/pkg/sentry/fs/tty/tty_state_autogen.go @@ -61,11 +61,11 @@ func (x *superOperations) load(m state.Map) { func (x *lineDiscipline) beforeSave() {} func (x *lineDiscipline) save(m state.Map) { x.beforeSave() - if !state.IsZeroValue(x.masterWaiter) { - m.Failf("masterWaiter is %v, expected zero", x.masterWaiter) + if !state.IsZeroValue(&x.masterWaiter) { + m.Failf("masterWaiter is %#v, expected zero", &x.masterWaiter) } - if !state.IsZeroValue(x.slaveWaiter) { - m.Failf("slaveWaiter is %v, expected zero", x.slaveWaiter) + if !state.IsZeroValue(&x.slaveWaiter) { + m.Failf("slaveWaiter is %#v, expected zero", &x.slaveWaiter) } m.Save("size", &x.size) m.Save("inQueue", &x.inQueue) |