From f2c730d3123c8952e2715b120e79c4ea20c73451 Mon Sep 17 00:00:00 2001 From: Olivier Martin Date: Tue, 6 Jan 2015 15:52:52 +0000 Subject: [PATCH] ArmPlatformPkg/Bds: Retrieve the Status when calling RT.SetVariable Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16588 6f19259b-4bc3-4df7-8a09-765794883524 --- ArmPlatformPkg/Bds/BootMenu.c | 4 ++-- 1 file 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, -- 2.39.2