]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg/Bds: Retrieve the Status when calling RT.SetVariable
authorOlivier Martin <olivier.martin@arm.com>
Tue, 6 Jan 2015 15:52:52 +0000 (15:52 +0000)
committeroliviermartin <oliviermartin@Edk2>
Tue, 6 Jan 2015 15:52:52 +0000 (15:52 +0000)
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

ArmPlatformPkg/Bds/BootMenu.c

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