diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/tam3517-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h index ec0a812..2d941ca 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); \ } \ |