]> git.sur5r.net Git - u-boot/blobdiff - board/vscom/baltos/board.c
Fix GCC format-security errors and convert sprintfs.
[u-boot] / board / vscom / baltos / board.c
index 638d14f6d06ee95929c1b1b5d554a48ef23742cc..ac44e32341ff3f94c4e4779331416e9b7ac6f583 100644 (file)
@@ -346,7 +346,7 @@ int board_late_init(void)
 
        /* get production data */
        if (read_eeprom(&header)) {
-               sprintf(model, "211");
+               strcpy(model, "211");
        } else {
                sprintf(model, "%d", header.SystemId);
                if (header.SystemId == 215) {