mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
DiskIO (Windows): fix device name detection
This commit is contained in:
@@ -39,7 +39,7 @@ const char* ffDiskIOGetIoCounters(FFlist* result, FFDiskIOOptions* options)
|
||||
if (index != device->name.length)
|
||||
{
|
||||
ffStrbufAppendNS(&device->interconnect, index, device->name.chars); // SCSI
|
||||
ffStrbufSubstrAfter(&device->name, index + 1);
|
||||
ffStrbufSubstrAfter(&device->name, index);
|
||||
}
|
||||
ffStrbufSubstrBeforeLastC(&device->name, '\\');
|
||||
ffStrbufSubstrAfterFirstS(&device->name, "&Ven_");
|
||||
|
||||
Reference in New Issue
Block a user