diff options
Diffstat (limited to 'EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/Variable.c')
-rw-r--r-- | EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/Variable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/Variable.c b/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/Variable.c index c660e409db..454d192a2b 100644 --- a/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/Variable.c +++ b/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/Variable.c @@ -450,6 +450,7 @@ Var_UpdateConsoleOption ( NewTerminalContext->DevicePath,
(EFI_DEVICE_PATH_PROTOCOL *) &Vendor
);
+ ASSERT (TerminalDevicePath != NULL);
ChangeTerminalDevicePath (TerminalDevicePath, TRUE);
Temp = DevicePathToStr (TerminalDevicePath);
ConDevicePath = AppendDevicePathInstance (
|