chore: fix function name in comment

Signed-off-by: deferdeter <deferdeter@outlook.com>
pull/724/head
deferdeter 2024-04-16 14:25:07 +08:00
parent 37ff3504e3
commit 3a180ad9c9
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ func detachLoopDevice(loopDevice string) error {
return unix.IoctlSetInt(int(loopFd.Fd()), unix.LOOP_CLR_FD, 0)
}
// getFreeLoopbackDevice allocates or finds a free loop device for use.
// getFreeLoopDevice allocates or finds a free loop device for use.
//
// REF: https://man7.org/linux/man-pages/man4/loop.4.html
func getFreeLoopDevice() (string, error) {