sandbox/mount: rename device flag
All checks were successful
Test / Create distribution (push) Successful in 25s
Test / Fortify (push) Successful in 2m28s
Test / Fpkg (push) Successful in 3m30s
Test / Data race detector (push) Successful in 4m5s
Test / Flake checks (push) Successful in 51s

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-03-17 16:10:55 +09:00
parent c83a7e2efc
commit 70c9757e26
2 changed files with 4 additions and 7 deletions

View File

@@ -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() {