summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2015-01-06 15:52:52 +0000
committeroliviermartin <oliviermartin@Edk2>2015-01-06 15:52:52 +0000
commitf2c730d3123c8952e2715b120e79c4ea20c73451 (patch)
tree6a3ab49971e09d1e82aca3dfb151d16f7c3ef9cb
parent6e8b37f1f62a3945de44d40616f9e13b4d214980 (diff)
downloadedk2-platforms-f2c730d3123c8952e2715b120e79c4ea20c73451.tar.xz
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
-rw-r--r--ArmPlatformPkg/Bds/BootMenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ArmPlatformPkg/Bds/BootMenu.c b/ArmPlatformPkg/Bds/BootMenu.c
index 3a72df0495..04a2eee6f5 100644
--- a/ArmPlatformPkg/Bds/BootMenu.c
+++ b/ArmPlatformPkg/Bds/BootMenu.c
@@ -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,