diff --git a/src/diskusage/diskusage.go b/src/diskusage/diskusage.go index 8e8bc1b68..c798a9e9d 100644 --- a/src/diskusage/diskusage.go +++ b/src/diskusage/diskusage.go @@ -25,7 +25,7 @@ func NewDiskUsage(volumePath string) *DiskUsage { // Free returns total free bytes on file system func (du *DiskUsage) Free() uint64 { - return du.stat.Bfree * uint64(du.stat.Bsize) + return uint64(du.stat.Bfree) * uint64(du.stat.Bsize) } // Available return total available bytes on file system to an unprivileged user