summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/devices/memdev/zero.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/devices/memdev/zero.go')
-rw-r--r--pkg/sentry/devices/memdev/zero.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/devices/memdev/zero.go b/pkg/sentry/devices/memdev/zero.go
index c6f15054d..2e631a252 100644
--- a/pkg/sentry/devices/memdev/zero.go
+++ b/pkg/sentry/devices/memdev/zero.go
@@ -48,7 +48,7 @@ type zeroFD struct {
}
// Release implements vfs.FileDescriptionImpl.Release.
-func (fd *zeroFD) Release() {
+func (fd *zeroFD) Release(context.Context) {
// noop
}