Revision: 14994
          http://sourceforge.net/p/edk2/code/14994
Author:   sfu5
Date:     2013-12-17 07:46:11 +0000 (Tue, 17 Dec 2013)
Log Message:
-----------
Fix a bug in TCP driver?\226?\128?\153s component name print function.
Signed-off-by: Fu Siyuan <[email protected]>
Reviewed-by: Dong, Guo <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ComponentName.c
    trunk/edk2/NetworkPkg/TcpDxe/ComponentName.c

Modified: trunk/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ComponentName.c
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ComponentName.c   
2013-12-17 06:21:33 UTC (rev 14993)
+++ trunk/edk2/MdeModulePkg/Universal/Network/Tcp4Dxe/ComponentName.c   
2013-12-17 07:46:11 UTC (rev 14994)
@@ -1,7 +1,7 @@
 /** @file
   UEFI Component Name(2) protocol implementation for Tcp4Dxe driver.
 
-Copyright (c) 2005 - 2012, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>
 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 @@
   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")

Modified: trunk/edk2/NetworkPkg/TcpDxe/ComponentName.c
===================================================================
--- trunk/edk2/NetworkPkg/TcpDxe/ComponentName.c        2013-12-17 06:21:33 UTC 
(rev 14993)
+++ trunk/edk2/NetworkPkg/TcpDxe/ComponentName.c        2013-12-17 07:46:11 UTC 
(rev 14994)
@@ -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.<BR>
+  Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
 
   This program and the accompanying materials
   are licensed and made available under the terms and conditions of the BSD 
License
@@ -256,7 +256,7 @@
   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")

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to