From 8282b3b2323edf24303abc0591695e26b11e0d51 Mon Sep 17 00:00:00 2001 From: shirou Date: Wed, 30 Nov 2022 23:35:37 +0000 Subject: [PATCH] [disk][windows]: apply change on common.Warning. --- disk/disk_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk/disk_windows.go b/disk/disk_windows.go index 825ce3b5b..18c409220 100644 --- a/disk/disk_windows.go +++ b/disk/disk_windows.go @@ -216,7 +216,7 @@ var ( ) // getVolumeInformation returns all the information gathered from GetVolumeInformationW -func getVolumeInformation(name string, warnings *common.Warnings) (*volumeInformation, error) { +func getVolumeInformation(name string, warnings *Warnings) (*volumeInformation, error) { path := name + ":" typepath, _ := windows.UTF16PtrFromString(path) typeret, _, _ := procGetDriveType.Call(uintptr(unsafe.Pointer(typepath)))