From 1166a3c4a327ea006c8988406b39d42f03a6d602 Mon Sep 17 00:00:00 2001 From: pupbrained Date: Mon, 12 May 2025 23:12:28 -0400 Subject: [PATCH] god damnit --- src/OS/BSD.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OS/BSD.cpp b/src/OS/BSD.cpp index b2b24ec..1fab2bf 100644 --- a/src/OS/BSD.cpp +++ b/src/OS/BSD.cpp @@ -484,8 +484,8 @@ namespace os { return Err(DracError(std::format("Failed to get filesystem stats for '/' (statvfs call failed)"))); return DiskSpace { - .used_bytes = (stat.f_blocks * stat.f_frsize) - (stat.f_bfree * stat.f_frsize), - .total_bytes = stat.f_blocks * stat.f_frsize, + .usedBytes = (stat.f_blocks * stat.f_frsize) - (stat.f_bfree * stat.f_frsize), + .totalBytes = stat.f_blocks * stat.f_frsize, }; } } // namespace os