substrate icon indicating copy to clipboard operation
substrate copied to clipboard

storage-monitor: statvfs arithmetic bug fixed

Open michalkucharczyk opened this issue 3 years ago • 0 comments

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.

michalkucharczyk avatar Jan 24 '23 17:01 michalkucharczyk