summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/sys/devices.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/fs/sys/devices.go')
-rw-r--r--pkg/sentry/fs/sys/devices.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/sys/devices.go b/pkg/sentry/fs/sys/devices.go
index a6009ba8a..4f78ca8d2 100644
--- a/pkg/sentry/fs/sys/devices.go
+++ b/pkg/sentry/fs/sys/devices.go
@@ -58,7 +58,7 @@ func newPossible(ctx context.Context, msrc *fs.MountSource) *fs.Inode {
Contents: contents,
},
}
- return newFile(c, msrc)
+ return newFile(ctx, c, msrc)
}
func newCPU(ctx context.Context, msrc *fs.MountSource) *fs.Inode {