aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/mount.go
diff options
context:
space:
mode:
Diffstat (limited to 'container/mount.go')
-rw-r--r--container/mount.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/container/mount.go b/container/mount.go
index 171b210b..f6a8844f 100644
--- a/container/mount.go
+++ b/container/mount.go
@@ -6,6 +6,7 @@ import (
"os"
. "syscall"
+ "hakurei.app/ext"
"hakurei.app/message"
"hakurei.app/vfs"
)
@@ -115,7 +116,7 @@ func (p *procPaths) remount(msg message.Msg, target string, flags uintptr) error
var targetKFinal string
{
var destFd int
- if err := IgnoringEINTR(func() (err error) {
+ if err := ext.IgnoringEINTR(func() (err error) {
destFd, err = p.k.open(targetFinal, O_PATH|O_CLOEXEC, 0)
return
}); err != nil {