From c5fba0fea419f796c229f787a8717f9c15ad87c5 Mon Sep 17 00:00:00 2001 From: Fu Siyuan Date: Tue, 17 Dec 2013 07:46:11 +0000 Subject: [PATCH] =?utf8?q?Fix=20a=20bug=20in=20TCP=20driver=E2=80=99s=20co?= =?utf8?q?mponent=20name=20print=20function.=20Signed-off-by:=20Fu=20Siyua?= =?utf8?q?n=20=20Reviewed-by:=20Dong,=20Guo=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14994 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Universal/Network/Tcp4Dxe/ComponentName.c | 4 ++-- NetworkPkg/TcpDxe/ComponentName.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/ComponentName.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/ComponentName.c index dd0af8d7b4..c9043958b4 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/ComponentName.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/ComponentName.c @@ -1,7 +1,7 @@ /** @file UEFI Component Name(2) protocol implementation for Tcp4Dxe driver. -Copyright (c) 2005 - 2012, Intel Corporation. All rights reserved.
+Copyright (c) 2005 - 2013, 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 @@ -259,7 +259,7 @@ UpdateName ( Status = Tcp4->GetModeData (Tcp4, NULL, &Tcp4ConfigData, NULL, NULL, NULL); if (!EFI_ERROR (Status)) { UnicodeSPrint (HandleName, sizeof (HandleName), - L"TCPv4 (SrcPort=%d, DestPort=&d, ActiveFlag=%s)", + L"TCPv4 (SrcPort=%d, DestPort=%d, ActiveFlag=%s)", Tcp4ConfigData.AccessPoint.StationPort, Tcp4ConfigData.AccessPoint.RemotePort, (Tcp4ConfigData.AccessPoint.ActiveFlag ? L"TRUE" : L"FALSE") diff --git a/NetworkPkg/TcpDxe/ComponentName.c b/NetworkPkg/TcpDxe/ComponentName.c index 9b4dada6a0..ecfda7a8ca 100644 --- a/NetworkPkg/TcpDxe/ComponentName.c +++ b/NetworkPkg/TcpDxe/ComponentName.c @@ -2,7 +2,7 @@ Implementation of protocols EFI_COMPONENT_NAME_PROTOCOL and EFI_COMPONENT_NAME2_PROTOCOL. - Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2013, 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 @@ -256,7 +256,7 @@ UpdateTcp4Name ( Status = Tcp4->GetModeData (Tcp4, NULL, &Tcp4ConfigData, NULL, NULL, NULL); if (!EFI_ERROR (Status)) { UnicodeSPrint (HandleName, sizeof (HandleName), - L"TCPv4 (SrcPort=%d, DestPort=&d, ActiveFlag=%s)", + L"TCPv4 (SrcPort=%d, DestPort=%d, ActiveFlag=%s)", Tcp4ConfigData.AccessPoint.StationPort, Tcp4ConfigData.AccessPoint.RemotePort, (Tcp4ConfigData.AccessPoint.ActiveFlag ? L"TRUE" : L"FALSE") -- 2.39.2