From: Wolfgang Denk Date: Thu, 6 Nov 2014 13:03:00 +0000 (+0100) Subject: drivers/net/uli526x.c: fix syntax error X-Git-Tag: v2015.01-rc1~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1779dc0fe45ab303c44f19dfd13df00269e42ad5;p=oweals%2Fu-boot.git drivers/net/uli526x.c: fix syntax error Fix error detected by cppcheck: [drivers/net/uli526x.c:551]: (error) printf format string requires 3 parameters but only 2 are given. Signed-off-by: Wolfgang Denk Cc: Roy Zang --- diff --git a/drivers/net/uli526x.c b/drivers/net/uli526x.c index 538f11e3eb..9526faa4af 100644 --- a/drivers/net/uli526x.c +++ b/drivers/net/uli526x.c @@ -548,7 +548,7 @@ static int uli526x_rx_packet(struct eth_device *dev) rdes0 = le32_to_cpu(rxptr->rdes0); #ifdef RX_DEBUG - printf("%s(): rxptr->rdes0=%x:%x\n", __FUNCTION__, rxptr->rdes0); + printf("%s(): rxptr->rdes0=%x\n", __FUNCTION__, rxptr->rdes0); #endif if (!(rdes0 & 0x80000000)) { /* packet owner check */ if ((rdes0 & 0x300) != 0x300) {