summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/loader/loader.go
diff options
context:
space:
mode:
authorIan Gudger <igudger@google.com>2018-05-08 09:58:09 -0700
committerShentubot <shentubot@google.com>2018-05-08 09:59:03 -0700
commit09c323910d7f28fec9e4c92e5faaa92bb63bd431 (patch)
treee28f33bde60dff998205f8beb416b655428c7329 /pkg/sentry/loader/loader.go
parentb4765f782d91443ab0415dc00e727d783632e2ad (diff)
Reword misleading log line
PiperOrigin-RevId: 195834310 Change-Id: I8af748f75ab87ad1cd29c4c8904d07fd729ba6c9
Diffstat (limited to 'pkg/sentry/loader/loader.go')
-rw-r--r--pkg/sentry/loader/loader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/loader/loader.go b/pkg/sentry/loader/loader.go
index 4ed796493..a68ab33e7 100644
--- a/pkg/sentry/loader/loader.go
+++ b/pkg/sentry/loader/loader.go
@@ -85,7 +85,7 @@ func openPath(ctx context.Context, mm *fs.MountNamespace, root, wd *fs.Dirent, m
// No exec-ing directories, pipes, etc!
if !fs.IsRegular(d.Inode.StableAttr) {
- ctx.Infof("Error regularing %s: %v", name, d.Inode.StableAttr)
+ ctx.Infof("%s is not regular: %v", name, d.Inode.StableAttr)
return nil, nil, syserror.EACCES
}