mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-29 00:03:58 +01:00
Disk (SunOS): trims disk name
This commit is contained in:
@@ -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