public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Fix debug output.
@ 2009-12-07  9:21 Thomas Weber
  2009-12-07 10:43 ` Mike Frysinger
  2009-12-07 12:07 ` Wolfgang Denk
  0 siblings, 2 replies; 9+ messages in thread
From: Thomas Weber @ 2009-12-07  9:21 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Thomas Weber <weber@corscience.de>
---
 drivers/net/dm9000x.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/dm9000x.c b/drivers/net/dm9000x.c
index 73dd335..08bd794 100644
--- a/drivers/net/dm9000x.c
+++ b/drivers/net/dm9000x.c
@@ -74,8 +74,8 @@ TODO: external MII is not functional, only internal at the moment.
 #define DM9000_DBG(fmt,args...) printf(fmt, ##args)
 #define DM9000_DMP_PACKET(func,packet,length)  \
 	do { \
-		int i; 							\
-		printf(func ": length: %d\n", length);			\
+     	int i; 							\
+		printf("%s: length: %d\n",func, length);			\
 		for (i = 0; i < length; i++) {				\
 			if (i % 8 == 0)					\
 				printf("\n%s: %02x: ", func, i);	\
-- 
1.6.4.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-12-08 20:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-07  9:21 [U-Boot] [PATCH] Fix debug output Thomas Weber
2009-12-07 10:43 ` Mike Frysinger
2009-12-07 11:27   ` Thomas Weber
2009-12-07 12:08     ` Wolfgang Denk
2009-12-07 12:07 ` Wolfgang Denk
2009-12-07 13:11   ` Thomas Weber
2009-12-07 20:09     ` Wolfgang Denk
2009-12-08 20:38       ` Thomas Weber
2009-12-08 20:43         ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox