summaryrefslogtreecommitdiffstats
path: root/common/uimage.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-08-12 12:09:23 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-08-12 22:04:31 +0200
commit52286bb49266c866d777e87a56ffe33490fc9fdb (patch)
treeba1bf5d43afec67cc52236c3837749d589f9ebdd /common/uimage.c
parent7320851ed1e1564dd25df617a36e8248c784524f (diff)
downloadbarebox-52286bb49266c866d777e87a56ffe33490fc9fdb.tar.gz
uimage: fix: fill size when no compression is used
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/uimage.c')
-rw-r--r--common/uimage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/uimage.c b/common/uimage.c
index c9283b8..7fbef86 100644
--- a/common/uimage.c
+++ b/common/uimage.c
@@ -479,6 +479,7 @@ void *uimage_load_to_buf(struct uimage_handle *handle, int image_no,
free(buf);
return NULL;
}
+ size = ihd->len;
goto out;
}