summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2014-11-06 14:03:00 +0100
committerTom Rini <trini@ti.com>2014-11-07 16:27:07 -0500
commit1779dc0fe45ab303c44f19dfd13df00269e42ad5 (patch)
tree2915d3ab55d18484388afa422b226cdc1036e7e4 /drivers
parentb807288fdc50d756f0f6ca6aff12bade3dc3a7f9 (diff)
downloadu-boot-imx-1779dc0fe45ab303c44f19dfd13df00269e42ad5.zip
u-boot-imx-1779dc0fe45ab303c44f19dfd13df00269e42ad5.tar.gz
u-boot-imx-1779dc0fe45ab303c44f19dfd13df00269e42ad5.tar.bz2
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 <wd@denx.de> Cc: Roy Zang <tie-fei.zang@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/uli526x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/uli526x.c b/drivers/net/uli526x.c
index 538f11e..9526faa 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) {