diff --git a/lib/sectorbuilder/fs.go b/lib/sectorbuilder/fs.go index ac8de3a4d..c12935b96 100644 --- a/lib/sectorbuilder/fs.go +++ b/lib/sectorbuilder/fs.go @@ -86,7 +86,7 @@ func (f *fs) reserve(typ dataType, size uint64) error { return err } - avail := int64(fsstat.Bavail) * fsstat.Bsize + avail := int64(fsstat.Bavail) * int64(fsstat.Bsize) avail -= f.reservedBytes()