aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/dispatcher.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-29 01:06:12 +0900
committerOphestra <cat@gensokyo.uk>2025-08-29 01:06:12 +0900
commit84ad9791e2f373d5869b2da6675c70f23deac8a0 (patch)
treeb5c5b661287c62d62d4ec3dbf08f947df1677e70 /container/dispatcher.go
parentb14690aa77b3d5f86c4d1b1965675d6d82789e32 (diff)
container: wrap mount syscall errno
This is the first step to deprecating the generalised error wrapping error message pattern. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/dispatcher.go')
-rw-r--r--container/dispatcher.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/container/dispatcher.go b/container/dispatcher.go
index ae697cef..c94d9348 100644
--- a/container/dispatcher.go
+++ b/container/dispatcher.go
@@ -225,7 +225,7 @@ func (direct) pivotRoot(newroot, putold string) (err error) {
return syscall.PivotRoot(newroot, putold)
}
func (direct) mount(source, target, fstype string, flags uintptr, data string) (err error) {
- return syscall.Mount(source, target, fstype, flags, data)
+ return mount(source, target, fstype, flags, data)
}
func (direct) unmount(target string, flags int) (err error) {
return syscall.Unmount(target, flags)