summaryrefslogtreecommitdiff
path: root/drivers/net/ftmac100.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ftmac100.c')
-rw-r--r--drivers/net/ftmac100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ftmac100.c b/drivers/net/ftmac100.c
index bd94f83f04..1fc7da9a3e 100644
--- a/drivers/net/ftmac100.c
+++ b/drivers/net/ftmac100.c
@@ -246,7 +246,7 @@ int ftmac100_initialize (bd_t *bd)
memset (dev, 0, sizeof (*dev));
memset (priv, 0, sizeof (*priv));
- sprintf (dev->name, "FTMAC100");
+ strcpy(dev->name, "FTMAC100");
dev->iobase = CONFIG_FTMAC100_BASE;
dev->init = ftmac100_init;
dev->halt = ftmac100_halt;