summaryrefslogtreecommitdiff
path: root/net/net.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2007-10-14 14:31:47 +0200
committerMichal Simek <monstr@monstr.eu>2007-10-14 14:31:47 +0200
commit95df6f4ebaaa3972e312be1acf7650a18b84bf3d (patch)
treeee69b8872cf8c295a48244280c82d98e191111ab /net/net.c
parentb49c90df6e7cfcfb8b862b8bbf8448dff5eed9a5 (diff)
parentb90c045f035c3cc9b5d2edaed6048dfb74e40763 (diff)
downloadu-boot-imx-95df6f4ebaaa3972e312be1acf7650a18b84bf3d.zip
u-boot-imx-95df6f4ebaaa3972e312be1acf7650a18b84bf3d.tar.gz
u-boot-imx-95df6f4ebaaa3972e312be1acf7650a18b84bf3d.tar.bz2
Merge ../master/
Diffstat (limited to 'net/net.c')
-rw-r--r--net/net.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/net.c b/net/net.c
index c47610e..cde2680 100644
--- a/net/net.c
+++ b/net/net.c
@@ -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);