From f869ff95a12756de97827b4afd93763f9661f144 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 8 Jun 2026 14:19:11 +0900 Subject: all: apply modernisers Signed-off-by: Ophestra --- vfs/mountinfo.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vfs') diff --git a/vfs/mountinfo.go b/vfs/mountinfo.go index 77f6a35d..3c9e65ca 100644 --- a/vfs/mountinfo.go +++ b/vfs/mountinfo.go @@ -103,7 +103,7 @@ type ( // Flags interprets VfsOptstr and returns the resulting flags and unmatched options. func (e *MountInfoEntry) Flags() (flags uintptr, unmatched []string) { - for _, s := range strings.Split(e.VfsOptstr, ",") { + for s := range strings.SplitSeq(e.VfsOptstr, ",") { switch s { case "rw": case "ro": -- cgit v1.3.1