diff --git a/system/syscall_unix.go b/system/syscall_unix.go index e1b90b3..5005476 100644 --- a/system/syscall_unix.go +++ b/system/syscall_unix.go @@ -4,8 +4,8 @@ package system import "syscall" -// UnmountWithSyscall is a platform-specific helper function to call +// Unmount is a platform-specific helper function to call // the unmount syscall. -func UnmountWithSyscall(dest string) { +func Unmount(dest string) { syscall.Unmount(dest, 0) } diff --git a/system/syscall_windows.go b/system/syscall_windows.go index 26bd80b..3a3a55b 100644 --- a/system/syscall_windows.go +++ b/system/syscall_windows.go @@ -1,6 +1,6 @@ package system -// UnmountWithSyscall is a platform-specific helper function to call +// Unmount is a platform-specific helper function to call // the unmount syscall. Not supported on Windows -func UnmountWithSyscall(dest string) { +func Unmount(dest string) { }