Merge pull request #61 from carlosframework/worktree-tito-console-reroll
host: fix darwin build — Statfs Bsize is uint32 there
1 file changed,
+1
−1
internal/host/probes.go+1 −1
diff --git a/internal/host/probes.go b/internal/host/probes.go| index 1e3bd5d64..6a64ce1c4 100644 |
| --- a/internal/host/probes.go |
| +++ b/internal/host/probes.go |
| @@ -317,6 +317,6 @@ func readDiskFreeBytes() *int64 { |
| if st.Blocks == 0 { |
| return nil |
| } |
| - freeBytes := int64(st.Bavail) * st.Bsize |
| + freeBytes := int64(st.Bavail) * int64(st.Bsize) |
| return &freeBytes |
| } |