summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/host/inode_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/host/inode_test.go')
-rw-r--r--pkg/sentry/fs/host/inode_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/host/inode_test.go b/pkg/sentry/fs/host/inode_test.go
index c507f57eb..41a23b5da 100644
--- a/pkg/sentry/fs/host/inode_test.go
+++ b/pkg/sentry/fs/host/inode_test.go
@@ -36,7 +36,7 @@ func TestCloseFD(t *testing.T) {
if err != nil {
t.Fatalf("Failed to create File: %v", err)
}
- file.DecRef()
+ file.DecRef(ctx)
s := make([]byte, 10)
if c, err := syscall.Read(p[0], s); c != 0 || err != nil {