summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/fdpipe
diff options
context:
space:
mode:
authorIan Gudger <igudger@google.com>2018-05-07 16:37:08 -0700
committerShentubot <shentubot@google.com>2018-05-07 16:38:01 -0700
commit7c8c3705ea5d891a3d6126090b1f49d8bae44177 (patch)
tree222d3febc96553ff2e1408e341e10f81fd97fdc2 /pkg/sentry/fs/fdpipe
parenta445b17933d38ee6f9cea9138c6197a07387b462 (diff)
Fix misspellings
PiperOrigin-RevId: 195742598 Change-Id: Ibd4a8e4394e268c87700b6d1e50b4b37dfce5182
Diffstat (limited to 'pkg/sentry/fs/fdpipe')
-rw-r--r--pkg/sentry/fs/fdpipe/pipe_opener.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/fdpipe/pipe_opener.go b/pkg/sentry/fs/fdpipe/pipe_opener.go
index a0d59575f..945cfaf08 100644
--- a/pkg/sentry/fs/fdpipe/pipe_opener.go
+++ b/pkg/sentry/fs/fdpipe/pipe_opener.go
@@ -94,7 +94,7 @@ func unwrapError(err error) error {
// TryOpen uses a NonBlockingOpener to try to open a host pipe, respecting the fs.FileFlags.
func (p *pipeOpenState) TryOpen(ctx context.Context, opener NonBlockingOpener, flags fs.FileFlags) (*pipeOperations, error) {
switch {
- // Reject invalid configurations so they don't accidently succeed below.
+ // Reject invalid configurations so they don't accidentally succeed below.
case !flags.Read && !flags.Write:
return nil, syscall.EINVAL