diff --git a/pkg/disk/type_windows.go b/pkg/disk/type_windows.go index f303090d3..6ea3e1502 100644 --- a/pkg/disk/type_windows.go +++ b/pkg/disk/type_windows.go @@ -34,7 +34,7 @@ func getFSType(path string) string { volumeNameSize, nFileSystemNameSize := uint32(260), uint32(260) var lpVolumeSerialNumber uint32 var lpFileSystemFlags, lpMaximumComponentLength uint32 - var lpFileSystemNameBuffer, volumeName [130]uint16 + var lpFileSystemNameBuffer, volumeName [260]uint16 var ps = syscall.StringToUTF16Ptr(filepath.VolumeName(path)) // Extract values safely