X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fnet%2Flpc32xx_eth.c;h=6cc273c33c81f046b1ce4f555d590213eddaa77a;hb=7863ce589105bdcae9c5c45a33458f0d40536b01;hp=3ba5b4b1f9b32ba44145e8842913c423ba9ff397;hpb=f46c25583a73042edf432b209ee4b93bc3f7e762;p=u-boot diff --git a/drivers/net/lpc32xx_eth.c b/drivers/net/lpc32xx_eth.c index 3ba5b4b1f9..6cc273c33c 100644 --- a/drivers/net/lpc32xx_eth.c +++ b/drivers/net/lpc32xx_eth.c @@ -582,7 +582,7 @@ int lpc32xx_eth_phylib_init(struct eth_device *dev, int phyid) } bus->read = lpc32xx_eth_phy_read; bus->write = lpc32xx_eth_phy_write; - sprintf(bus->name, dev->name); + strcpy(bus->name, dev->name); ret = mdio_register(bus); if (ret) {