From 33985e3b52ee2e4b5064331134d983e55a7da904 Mon Sep 17 00:00:00 2001 From: Chao Zhang Date: Mon, 10 Nov 2014 05:01:15 +0000 Subject: =?UTF-8?q?=20=20=20Fix=20execution=20status=20&=20DEBUG=20message?= =?UTF-8?q?=20level=20mismatch.=20EFI=5FD=5FERROR=20is=20used=20only=20whe?= =?UTF-8?q?n=20failure/case=20can=E2=80=99t=20be=20resolved=20by=20code.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Chao Zhang Reviewed-by: Dong Guo git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16320 6f19259b-4bc3-4df7-8a09-765794883524 --- SecurityPkg/VariableAuthenticated/RuntimeDxe/Measurement.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'SecurityPkg/VariableAuthenticated/RuntimeDxe/Measurement.c') diff --git a/SecurityPkg/VariableAuthenticated/RuntimeDxe/Measurement.c b/SecurityPkg/VariableAuthenticated/RuntimeDxe/Measurement.c index 41e9b6f5e0..1b625e7469 100644 --- a/SecurityPkg/VariableAuthenticated/RuntimeDxe/Measurement.c +++ b/SecurityPkg/VariableAuthenticated/RuntimeDxe/Measurement.c @@ -1,7 +1,7 @@ /** @file Measure TrEE required variable. -Copyright (c) 2013, Intel Corporation. All rights reserved.
+Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -118,8 +118,8 @@ MeasureVariable ( ); } - DEBUG ((EFI_D_ERROR, "AuthVariableDxe: MeasureVariable (Pcr - %x, EventType - %x, ", (UINTN)7, (UINTN)EV_EFI_VARIABLE_AUTHORITY)); - DEBUG ((EFI_D_ERROR, "VariableName - %s, VendorGuid - %g)\n", VarName, VendorGuid)); + DEBUG ((EFI_D_INFO, "AuthVariableDxe: MeasureVariable (Pcr - %x, EventType - %x, ", (UINTN)7, (UINTN)EV_EFI_VARIABLE_AUTHORITY)); + DEBUG ((EFI_D_INFO, "VariableName - %s, VendorGuid - %g)\n", VarName, VendorGuid)); Status = TpmMeasureAndLogData ( 7, @@ -245,7 +245,7 @@ SecureBootHook ( VariableData, VariableDataSize ); - DEBUG ((EFI_D_ERROR, "MeasureBootPolicyVariable - %r\n", Status)); + DEBUG ((EFI_D_INFO, "MeasureBootPolicyVariable - %r\n", Status)); if (VariableData != NULL) { FreePool (VariableData); -- cgit v1.2.3