diff options
Diffstat (limited to 'tools/intel_error_decode.c')
-rw-r--r-- | tools/intel_error_decode.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/intel_error_decode.c b/tools/intel_error_decode.c index ee0a270d..e0ec8f60 100644 --- a/tools/intel_error_decode.c +++ b/tools/intel_error_decode.c @@ -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", |