From: Mike Frysinger Date: Thu, 10 Jun 2010 02:14:21 +0000 (-0400) Subject: uli526x: drop newlines from device name X-Git-Tag: v2010.09-rc1~82^2~2^2~13 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ec0d879f08acf35bc6e935e886ae9a4637ebb713;p=oweals%2Fu-boot.git uli526x: drop newlines from device name Device names should not contain non-printable characters like newlines. Signed-off-by: Mike Frysinger Signed-off-by: Ben Warren --- diff --git a/drivers/net/uli526x.c b/drivers/net/uli526x.c index 9477851a75..56eee7bee6 100644 --- a/drivers/net/uli526x.c +++ b/drivers/net/uli526x.c @@ -225,7 +225,7 @@ int uli526x_initialize(bd_t *bis) iobase &= ~0xf; dev = (struct eth_device *)malloc(sizeof *dev); - sprintf(dev->name, "uli526x#%d\n", card_number); + sprintf(dev->name, "uli526x#%d", card_number); db = (struct uli526x_board_info *) malloc(sizeof(struct uli526x_board_info));