]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkNt32Pkg/Dxe/PlatformBds/Generic/BootMaint/Variable.c
Add PcdComponentName2Disable and PcdDriverDiagnostics2Disable.
[mirror_edk2.git] / EdkNt32Pkg / Dxe / PlatformBds / Generic / BootMaint / Variable.c
index d0c5c9bafb542b8af97848076923dc34669090ba..cac68a16b061ab174477df80a0b1880ba77e4a1f 100644 (file)
@@ -15,12 +15,12 @@ Module Name:
 \r
 Abstract:\r
 \r
-  Variable operation that will be used by bootmaint\r
+  Variable operation that will be used by BootMaint\r
 \r
 --*/\r
 \r
 #include "Generic/Bds.h"\r
-#include "bootmaint.h"\r
+#include "BootMaint.h"\r
 #include "bdsplatform.h"\r
 \r
 EFI_STATUS\r
@@ -450,6 +450,7 @@ Var_UpdateConsoleOption (
                             NewTerminalContext->DevicePath,\r
                             (EFI_DEVICE_PATH_PROTOCOL *) &Vendor\r
                             );\r
+      ASSERT (TerminalDevicePath != NULL);\r
       ChangeTerminalDevicePath (TerminalDevicePath, TRUE);\r
       Temp = DevicePathToStr (TerminalDevicePath);\r
       ConDevicePath = AppendDevicePathInstance (\r