net: smc911x: fix %d confusingly prefixed with 0x in format string
authorHans Wennborg <hans@hanshq.net>
Mon, 4 Aug 2014 00:19:46 +0000 (17:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Aug 2014 20:04:32 +0000 (13:04 -0700)
Signed-off-by: Hans Wennborg <hans@hanshq.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/smsc/smc911x.c

index 1c44e67c3067c7640e64b5586b7abe721a0bd78c..9778cba9fc74906b68a26625f06f1cf4a88648c8 100644 (file)
@@ -730,7 +730,7 @@ static void smc911x_phy_detect(struct net_device *dev)
                        lp->phy_type = id1 << 16 | id2;
        }
 
-       DBG(SMC_DEBUG_MISC, dev, "phy_id1=0x%x, phy_id2=0x%x phyaddr=0x%d\n",
+       DBG(SMC_DEBUG_MISC, dev, "phy_id1=0x%x, phy_id2=0x%x phyaddr=0x%x\n",
            id1, id2, lp->mii.phy_id);
 }