summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/fs.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2019-04-22 18:17:52 -0700
committerShentubot <shentubot@google.com>2019-04-22 18:22:19 -0700
commitd6aac9387f6def9fa586f94dca39731fb3f6466d (patch)
tree35f78428f798de7b1d7e5c7c5aa3620e0c39f1c2 /pkg/sentry/fs/fs.go
parentf86c35a51ff92718e36ff6075339300be11e09b3 (diff)
Fix doc typo
PiperOrigin-RevId: 244773890 Change-Id: I2d0cd7789771276ba545b38efff6d3e24133baaa
Diffstat (limited to 'pkg/sentry/fs/fs.go')
-rw-r--r--pkg/sentry/fs/fs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/fs.go b/pkg/sentry/fs/fs.go
index 36f263235..119689776 100644
--- a/pkg/sentry/fs/fs.go
+++ b/pkg/sentry/fs/fs.go
@@ -155,7 +155,7 @@ type ErrCorruption struct {
Err error
}
-// Error returns a sensible description of the save rejection error.
+// Error returns a sensible description of the restore error.
func (e ErrCorruption) Error() string {
return "restore failed due to external file system state in corruption: " + e.Err.Error()
}