summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/devices/ttydev
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/devices/ttydev')
-rw-r--r--pkg/sentry/devices/ttydev/ttydev.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/devices/ttydev/ttydev.go b/pkg/sentry/devices/ttydev/ttydev.go
index fbb7fd92c..fd4b79c46 100644
--- a/pkg/sentry/devices/ttydev/ttydev.go
+++ b/pkg/sentry/devices/ttydev/ttydev.go
@@ -55,7 +55,7 @@ type ttyFD struct {
}
// Release implements vfs.FileDescriptionImpl.Release.
-func (fd *ttyFD) Release() {}
+func (fd *ttyFD) Release(context.Context) {}
// PRead implements vfs.FileDescriptionImpl.PRead.
func (fd *ttyFD) PRead(ctx context.Context, dst usermem.IOSequence, offset int64, opts vfs.ReadOptions) (int64, error) {