mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:14:37 +02: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