summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDean Deng <deandeng@google.com>2019-10-29 13:58:20 -0700
committergVisor bot <gvisor-bot@google.com>2019-10-29 14:05:04 -0700
commitd7f5e823e24501c33a377ee6c73210b00bf3d89f (patch)
tree12f84defe0daaea0b15fce6251f1c8237247104d
parent38330e93774e68324d8f43adb27178453dee18b6 (diff)
Fix grammar in comment.
Missing "for". PiperOrigin-RevId: 277358513
-rw-r--r--pkg/sentry/kernel/task.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/kernel/task.go b/pkg/sentry/kernel/task.go
index 11a8c6c87..9be3dae3c 100644
--- a/pkg/sentry/kernel/task.go
+++ b/pkg/sentry/kernel/task.go
@@ -709,7 +709,7 @@ func (t *Task) FDTable() *FDTable {
return t.fdTable
}
-// GetFile is a convenience wrapper t.FDTable().Get.
+// GetFile is a convenience wrapper for t.FDTable().Get.
//
// Precondition: same as FDTable.Get.
func (t *Task) GetFile(fd int32) *fs.File {