changeset 2190:97a57687a378

* src/ecos/support.c (cyg_net_show_mbufs): Use %p in diag_printf to keep the compiler happy.
author asl
date Mon, 08 May 2006 17:21:36 +0000
parents 35f58e98b6ec
children 8d1deabc0273
files packages/net/bsd_tcpip/current/ChangeLog packages/net/bsd_tcpip/current/src/ecos/support.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/net/bsd_tcpip/current/ChangeLog
+++ b/packages/net/bsd_tcpip/current/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-08  Andy Jackson <andy@grapevinetech.co.uk>
+
+	* src/ecos/support.c (cyg_net_show_mbufs): Use %p in diag_printf
+	to keep the compiler happy.
+
 2005-10-24  Andrew Lunn  <andrew.lunn@ascom.ch>
 
 	* include/sys/param.h: Include <string.h> to stop warnings.
--- a/packages/net/bsd_tcpip/current/src/ecos/support.c
+++ b/packages/net/bsd_tcpip/current/src/ecos/support.c
@@ -251,7 +251,7 @@ void cyg_net_show_mbufs(void)
         default: type="UNKNOWN"; break;
         }
 
-        diag_printf("%08x: %s %04x %08x[%03d] %08x %08x\n",
+        diag_printf("%p: %s %04x %p[%03d] %p %p\n",
                     m, type,
                     m->m_hdr.mh_flags,
                     m->m_hdr.mh_data,