From 84ad9791e2f373d5869b2da6675c70f23deac8a0 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Fri, 29 Aug 2025 01:06:12 +0900 Subject: container: wrap mount syscall errno This is the first step to deprecating the generalised error wrapping error message pattern. Signed-off-by: Ophestra --- container/dispatcher.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'container/dispatcher.go') 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) -- cgit v1.3.1