summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/file.go
diff options
context:
space:
mode:
authorCyrille Hemidy <cyrille.hemidy@gmail.com>2018-05-03 14:05:25 -0700
committerShentubot <shentubot@google.com>2018-05-03 14:06:13 -0700
commit04b79137babed361fb227e3ad579adb2df4bb188 (patch)
tree883f16f8e572d6e160bbb3faab1c0f5d2d4858e1 /pkg/sentry/fs/file.go
parent5c8db0a81882f009935cc6dd45cec47d5c38b267 (diff)
Fix misspellings.
PiperOrigin-RevId: 195307689 Change-Id: I499f19af49875a43214797d63376f20ae788d2f4
Diffstat (limited to 'pkg/sentry/fs/file.go')
-rw-r--r--pkg/sentry/fs/file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/file.go b/pkg/sentry/fs/file.go
index de2e80bf0..f2683bbd2 100644
--- a/pkg/sentry/fs/file.go
+++ b/pkg/sentry/fs/file.go
@@ -376,7 +376,7 @@ func (r *FileReader) Read(buf []byte) (int, error) {
return int(n), err
}
-// ReadAt implementes io.Reader.ReadAt.
+// ReadAt implements io.Reader.ReadAt.
func (r *FileReader) ReadAt(buf []byte, offset int64) (int, error) {
n, err := r.File.Preadv(r.Ctx, usermem.BytesIOSequence(buf), offset)
return int(n), err