ArmPlatformPkg/Bds: Retrieve the Status when calling RT.SetVariable

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>



git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16588 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Olivier Martin 2015-01-06 15:52:52 +00:00 committed by oliviermartin
parent 6e8b37f1f6
commit f2c730d312
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
/** @file
*
* Copyright (c) 2011 - 2014, ARM Limited. All rights reserved.
* Copyright (c) 2011 - 2015, ARM Limited. All rights reserved.
*
* This program and the accompanying materials
* are licensed and made available under the terms and conditions of the BSD License
@ -863,7 +863,7 @@ UpdateFdtPath (
);
ASSERT_EFI_ERROR(Status);
} else {
gRT->SetVariable (
Status = gRT->SetVariable (
(CHAR16*)L"Fdt",
&gArmGlobalVariableGuid,
EFI_VARIABLE_RUNTIME_ACCESS | EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS,