mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
Fix memory corruption problem on STX GP3 SSA Board.
Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
@@ -541,11 +541,11 @@ restart:
|
||||
|
||||
case NETLOOP_SUCCESS:
|
||||
if (NetBootFileXferSize > 0) {
|
||||
char buf[10];
|
||||
char buf[20];
|
||||
printf("Bytes transferred = %ld (%lx hex)\n",
|
||||
NetBootFileXferSize,
|
||||
NetBootFileXferSize);
|
||||
sprintf(buf, "%lx", NetBootFileXferSize);
|
||||
sprintf(buf, "%lX", NetBootFileXferSize);
|
||||
setenv("filesize", buf);
|
||||
|
||||
sprintf(buf, "%lX", (unsigned long)load_addr);
|
||||
|
Reference in New Issue
Block a user