diff --git a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c index 7d06163a7b..a7bd2516d0 100644 --- a/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c +++ b/ShellPkg/Library/UefiShellDriver1CommandsLib/Dh.c @@ -286,7 +286,7 @@ GetProtocolInfoString( UINTN Size; CHAR16 *Temp; CHAR16 GuidStr[40]; - VOID *instance; + VOID *Instance; CHAR16 InstanceStr[17]; ProtocolGuidArray = NULL; @@ -316,10 +316,10 @@ GetProtocolInfoString( StrnCatGrow(&RetVal, &Size, L"%N", 0); if(Verbose) { - Status = gBS->HandleProtocol (TheHandle, ProtocolGuidArray[ProtocolIndex], &instance); + Status = gBS->HandleProtocol (TheHandle, ProtocolGuidArray[ProtocolIndex], &Instance); if (!EFI_ERROR (Status)) { StrnCatGrow (&RetVal, &Size, L"(%H", 0); - UnicodeSPrint (InstanceStr, sizeof (InstanceStr), L"%x", instance); + UnicodeSPrint (InstanceStr, sizeof (InstanceStr), L"%x", Instance); StrnCatGrow (&RetVal, &Size, InstanceStr, 0); StrnCatGrow (&RetVal, &Size, L"%N)", 0); }