summaryrefslogtreecommitdiffstats
path: root/include/configs/tam3517-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/tam3517-common.h')
-rw-r--r--include/configs/tam3517-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h
index ec0a812aa1..2d941ca65b 100644
--- a/include/configs/tam3517-common.h
+++ b/include/configs/tam3517-common.h
@@ -384,7 +384,7 @@ do { \
if (i) \
sprintf(ethname, "eth%daddr", i); \
else \
- sprintf(ethname, "ethaddr"); \
+ strcpy(ethname, "ethaddr"); \
printf("Setting %s from EEPROM with %s\n", ethname, buf);\
setenv(ethname, buf); \
} \
OpenPOWER on IntegriCloud