Fix compilation #2

svn path=/trunk/; revision=42546
This commit is contained in:
Hervé Poussineau 2009-08-09 08:24:22 +00:00
parent e9eadcc168
commit afceb3314e
3 changed files with 4 additions and 5 deletions

View file

@ -222,7 +222,7 @@ DetectPciBios(PCONFIGURATION_COMPONENT_DATA SystemKey, ULONG *BusNumber)
0x0, 0x0,
0x0, 0x0,
0xFFFFFFFF, 0xFFFFFFFF,
"PCI BIOS" "PCI BIOS",
&BiosKey); &BiosKey);
/* Increment bus number */ /* Increment bus number */

View file

@ -102,7 +102,6 @@ GetHarddiskIdentifier(PCHAR Identifier,
ULONG i; ULONG i;
ULONG Checksum; ULONG Checksum;
ULONG Signature; ULONG Signature;
CHAR Identifier[20];
CHAR ArcName[256]; CHAR ArcName[256];
/* Read the MBR */ /* Read the MBR */

View file

@ -160,11 +160,11 @@ FldrCreateComponentKey(IN PCONFIGURATION_COMPONENT_DATA SystemNode,
Component->Type = Type; Component->Type = Type;
Component->Flags = Flags; Component->Flags = Flags;
Component->Key = Key; Component->Key = Key;
Component->Affinity = Affinity; Component->AffinityMask = Affinity;
/* Set identifier */ /* Set identifier */
if (Identifier) if (IdentifierString)
FldrSetIdentifier(ComponentData, Identifier); FldrSetIdentifier(ComponentData, IdentifierString);
/* Return the child */ /* Return the child */
*ComponentKey = ComponentData; *ComponentKey = ComponentData;