[v0.25] Avoid segfault when the pci vendor is not found

This commit is contained in:
Dr-Noob
2023-03-31 15:50:37 +02:00
parent a4006db616
commit 68619aa03e
2 changed files with 4 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ bool pciutils_is_vendor_id_present(struct pci_dev *devices, int id) {
}
}
printWarn("Unable to find a valid device for vendor id 0x%.4X using pciutils", id);
printErr("Unable to find a valid device for vendor id 0x%.4X using pciutils", id);
return false;
}