mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[halx86]
fix vendor name lookup - MegaRAID SAS 8480E VGA controllers does not exist (yet) svn path=/trunk/; revision=61620
This commit is contained in:
parent
8db8046b10
commit
e9741e1328
1 changed files with 2 additions and 2 deletions
|
@ -735,12 +735,12 @@ HalpDebugPciDumpBus(IN ULONG i,
|
|||
}
|
||||
|
||||
/* Isolate the vendor name */
|
||||
sprintf(LookupString, "%04x ", PciData->VendorID);
|
||||
sprintf(LookupString, "\r\n%04x ", PciData->VendorID);
|
||||
VendorName = strstr(VendorTable, LookupString);
|
||||
if (VendorName)
|
||||
{
|
||||
/* Copy the vendor name into our buffer */
|
||||
VendorName += 6;
|
||||
VendorName += 8;
|
||||
p = strpbrk(VendorName, "\r\n");
|
||||
Length = p - VendorName;
|
||||
if (Length >= sizeof(bVendorName)) Length = sizeof(bVendorName) - 1;
|
||||
|
|
Loading…
Reference in a new issue