aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/mount.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/mount.go')
-rw-r--r--container/mount.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container/mount.go b/container/mount.go
index 84415fa8..978b90a9 100644
--- a/container/mount.go
+++ b/container/mount.go
@@ -123,7 +123,7 @@ func (p procPaths) remount(msg message.Msg, target string, flags uintptr) error
{
var destFd int
if err := ext.IgnoringEINTR(func() (err error) {
- destFd, err = p.k.open(targetFinal, O_PATH|O_CLOEXEC, 0)
+ destFd, err = p.k.open(targetFinal, ext.O_PATH|O_CLOEXEC, 0)
return
}); err != nil {
return &os.PathError{Op: "open", Path: targetFinal, Err: err}