mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-12 22:40:54 +01:00
Disk (SunOS): trims disk name
This commit is contained in:
1 parent
b7890e1e2a
commit
152f3cdee1
1 file changed
+1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user