summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/semaphore
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-10 02:19:26 +0000
committergVisor bot <gvisor-bot@google.com>2020-04-10 02:19:26 +0000
commit4fa86d8e40dd4bb595b7ed33290021acedb001d5 (patch)
tree32eecd1209588433b2e8ff29fb8f2fa5e6969d29 /pkg/sentry/kernel/semaphore
parentaec346f392a983687719a813ed58c6f8b54aede9 (diff)
parent78126611e61e26269d804dd18a5229820c4ddced (diff)
Merge release-20200323.0-119-g7812661 (automated)
Diffstat (limited to 'pkg/sentry/kernel/semaphore')
-rwxr-xr-xpkg/sentry/kernel/semaphore/semaphore_state_autogen.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/kernel/semaphore/semaphore_state_autogen.go b/pkg/sentry/kernel/semaphore/semaphore_state_autogen.go
index db80a1490..ba1d073d9 100755
--- a/pkg/sentry/kernel/semaphore/semaphore_state_autogen.go
+++ b/pkg/sentry/kernel/semaphore/semaphore_state_autogen.go
@@ -53,8 +53,8 @@ func (x *Set) load(m state.Map) {
func (x *sem) beforeSave() {}
func (x *sem) 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)
}
m.Save("value", &x.value)
m.Save("pid", &x.pid)