diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-06-09 22:14:21 -0400 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2010-07-12 00:14:28 -0700 |
commit | ec0d879f08acf35bc6e935e886ae9a4637ebb713 (patch) | |
tree | 1b0926d45de12219bcca2cdb5709c1030bf33976 /drivers | |
parent | 1384f3bb8a4f9066805b70c1418eda78ecb73fdd (diff) |
uli526x: drop newlines from device name
Device names should not contain non-printable characters like newlines.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/uli526x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/uli526x.c b/drivers/net/uli526x.c index 9477851a75e..56eee7bee60 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)); |