Disk (SunOS): trims disk name

This commit is contained in:
Carter Li
2026-04-04 00:18:42 +08:00
parent b7890e1e2a
commit 152f3cdee1
+1
View File
@@ -100,6 +100,7 @@ static void detectStats(FFDisk* disk) {
disk->filesUsed = (uint32_t) (disk->filesTotal - fs.f_ffree);
ffStrbufSetS(&disk->name, fs.f_fstr);
ffStrbufTrimRightSpace(&disk->name);
disk->createTime = 0;
}