mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-20 06:16:13 +00:00
intel_error_decode: Be more lax for whitespace around parsing PCI-ID
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
3986d9faf3
commit
412e7b341f
@ -362,6 +362,8 @@ read_data_file (FILE *file)
|
||||
printf("%s", line);
|
||||
|
||||
matched = sscanf (line, "PCI ID: 0x%04x\n", ®);
|
||||
if (matched == 0)
|
||||
matched = sscanf (line, " PCI ID: 0x%04x\n", ®);
|
||||
if (matched == 1) {
|
||||
devid = reg;
|
||||
printf("Detected GEN%i chipset\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user