summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/mm/aio_context_state.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/mm/aio_context_state.go')
-rw-r--r--pkg/sentry/mm/aio_context_state.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/mm/aio_context_state.go b/pkg/sentry/mm/aio_context_state.go
index 3dabac1af..e8931922f 100644
--- a/pkg/sentry/mm/aio_context_state.go
+++ b/pkg/sentry/mm/aio_context_state.go
@@ -15,6 +15,6 @@
package mm
// afterLoad is invoked by stateify.
-func (a *AIOContext) afterLoad() {
- a.requestReady = make(chan struct{}, 1)
+func (ctx *AIOContext) afterLoad() {
+ ctx.requestReady = make(chan struct{}, 1)
}