diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-10-28 17:22:43 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-10-28 17:22:43 +0000 |
commit | ca3e612ef2ddc3741a6f33eccafdd5a571f63ede (patch) | |
tree | 0103a9781696bef2ba740bd46d0e5911f5cf5f65 /pkg | |
parent | da0c149f6d978dc46543169920783ed5189ab96a (diff) | |
parent | 198f1cddb82d46570ae63cb704b4a1b88cf0de1f (diff) |
Merge release-20190806.1-330-g198f1cd (automated)
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/sentry/kernel/task.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/kernel/task.go b/pkg/sentry/kernel/task.go index c82ef5486..11a8c6c87 100644 --- a/pkg/sentry/kernel/task.go +++ b/pkg/sentry/kernel/task.go @@ -709,9 +709,9 @@ func (t *Task) FDTable() *FDTable { return t.fdTable } -// GetFile is a convenience wrapper t.FDTable().GetFile. +// GetFile is a convenience wrapper t.FDTable().Get. // -// Precondition: same as FDTable. +// Precondition: same as FDTable.Get. func (t *Task) GetFile(fd int32) *fs.File { f, _ := t.fdTable.Get(fd) return f |