summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/host/control.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fsimpl/host/control.go')
-rw-r--r--pkg/sentry/fsimpl/host/control.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/host/control.go b/pkg/sentry/fsimpl/host/control.go
index b9082a20f..0135e4428 100644
--- a/pkg/sentry/fsimpl/host/control.go
+++ b/pkg/sentry/fsimpl/host/control.go
@@ -58,7 +58,7 @@ func (c *scmRights) Clone() transport.RightsControlMessage {
}
// Release implements transport.RightsControlMessage.Release.
-func (c *scmRights) Release() {
+func (c *scmRights) Release(ctx context.Context) {
for _, fd := range c.fds {
syscall.Close(fd)
}