god damnit

This commit is contained in:
Mars 2025-05-12 23:12:28 -04:00
parent 6c10918835
commit 1166a3c4a3
Signed by: pupbrained
GPG key ID: 0FF5B8826803F895

View file

@ -484,8 +484,8 @@ namespace os {
return Err(DracError(std::format("Failed to get filesystem stats for '/' (statvfs call failed)"))); return Err(DracError(std::format("Failed to get filesystem stats for '/' (statvfs call failed)")));
return DiskSpace { return DiskSpace {
.used_bytes = (stat.f_blocks * stat.f_frsize) - (stat.f_bfree * stat.f_frsize), .usedBytes = (stat.f_blocks * stat.f_frsize) - (stat.f_bfree * stat.f_frsize),
.total_bytes = stat.f_blocks * stat.f_frsize, .totalBytes = stat.f_blocks * stat.f_frsize,
}; };
} }
} // namespace os } // namespace os