diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2013-08-12 12:09:23 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-08-12 22:04:31 +0200 |
commit | 52286bb49266c866d777e87a56ffe33490fc9fdb (patch) | |
tree | ba1bf5d43afec67cc52236c3837749d589f9ebdd /common | |
parent | 7320851ed1e1564dd25df617a36e8248c784524f (diff) | |
download | barebox-52286bb49266c866d777e87a56ffe33490fc9fdb.tar.gz barebox-52286bb49266c866d777e87a56ffe33490fc9fdb.tar.xz |
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')
-rw-r--r-- | common/uimage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/uimage.c b/common/uimage.c index c9283b82d1..7fbef8688e 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; } |