From 8a99b9216d08292fba84ec53777fe66437b0b88c Mon Sep 17 00:00:00 2001 From: Simon Fraser Date: Thu, 30 Jul 2015 17:35:16 +0100 Subject: [PATCH] Functionality not present for Windows, but change function definition to ensure build. --- plugins/system/ps/disk/disk_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/system/ps/disk/disk_windows.go b/plugins/system/ps/disk/disk_windows.go index 34341accd..098ed4636 100644 --- a/plugins/system/ps/disk/disk_windows.go +++ b/plugins/system/ps/disk/disk_windows.go @@ -55,7 +55,7 @@ func DiskUsage(path string) (DiskUsageStat, error) { return ret, nil } -func DiskPartitions(all bool) ([]DiskPartitionStat, error) { +func DiskPartitions(fstypes []string) ([]DiskPartitionStat, error) { var ret []DiskPartitionStat lpBuffer := make([]byte, 254) diskret, _, err := procGetLogicalDriveStringsW.Call(