substrate
substrate copied to clipboard
storage-monitor: statvfs arithmetic bug fixed
Should fix: https://github.com/paritytech/substrate/pull/13082#discussion_r1085613384
blocks_available returns u32 for Apple/Darwin (https://docs.rs/libc/0.2.139/x86_64-apple-darwin/libc/type.fsblkcnt_t.html). This fix should solve this problem.