]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPlatformPkg/Bds/BootMenu.c
ArmPlatformPkg/Bds: Retrieve the Status when calling RT.SetVariable
[mirror_edk2.git] / 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