mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37368 3c298f89-4303-0410-b956-a3cf2f4a3e73
12 lines
352 B
Diff
12 lines
352 B
Diff
--- a/common/image-fit.c
|
|
+++ b/common/image-fit.c
|
|
@@ -1557,7 +1557,7 @@ int fit_image_load(bootm_headers_t *imag
|
|
if (fit_image_get_data(fit, noffset, &buf, &size)) {
|
|
printf("Could not find %s subimage data!\n", prop_name);
|
|
bootstage_error(bootstage_id + BOOTSTAGE_SUB_GET_DATA);
|
|
- return -ENOMEDIUM;
|
|
+ return -EIO;
|
|
}
|
|
len = (ulong)size;
|
|
|