summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel/semaphore
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-06 06:49:12 +0000
committergVisor bot <gvisor-bot@google.com>2020-02-06 06:49:12 +0000
commit971856a97882eee6fc216b12e8e20bba0f14c231 (patch)
tree9a71fe33a8c62ffd2bfa29bc27d59722b9412f60 /pkg/sentry/kernel/semaphore
parentb3a9b1da3837ba2636e621467bb56aad942caf5c (diff)
parent1b6a12a768216a99a5e0428c42ea4faf79cf3b50 (diff)
Merge release-20200127.0-85-g1b6a12a (automated)
Diffstat (limited to 'pkg/sentry/kernel/semaphore')
-rwxr-xr-xpkg/sentry/kernel/semaphore/semaphore_state_autogen.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/semaphore/semaphore_state_autogen.go b/pkg/sentry/kernel/semaphore/semaphore_state_autogen.go
index f225f6f75..d53d67f74 100755
--- a/pkg/sentry/kernel/semaphore/semaphore_state_autogen.go
+++ b/pkg/sentry/kernel/semaphore/semaphore_state_autogen.go
@@ -53,7 +53,9 @@ 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)
}