From 70c9757e26909a7ac6780dc6140af6a1b925e508 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 17 Mar 2025 16:10:55 +0900 Subject: sandbox/mount: rename device flag Signed-off-by: Ophestra --- sandbox/mount.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sandbox/mount.go') diff --git a/sandbox/mount.go b/sandbox/mount.go index e47e7f5d..e2cc2907 100644 --- a/sandbox/mount.go +++ b/sandbox/mount.go @@ -13,7 +13,7 @@ const ( BindSource BindRecursive BindWritable - BindDevices + BindDevice ) func bindMount(src, dest string, flags int) error { @@ -66,7 +66,7 @@ func bindMount(src, dest string, flags int) error { if flags&BindWritable == 0 { mf |= syscall.MS_RDONLY } - if flags&BindDevices == 0 { + if flags&BindDevice == 0 { mf |= syscall.MS_NODEV } if msg.IsVerbose() { -- cgit v1.3.1