index
:
openwrt.git
OpenWrt Source Repository
log msg
author
committer
range
feature/odhcpd_odhcp6c_udhcpc-capsdrop
linksys3200ac-master
master
about
summary
refs
log
tree
commit
diff
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
author
Felix Fietkau <nbd@openwrt.org>
2013-07-16 09:43:31 +0000
committer
Felix Fietkau <nbd@openwrt.org>
2013-07-16 09:43:31 +0000
commit
ccdd6e82159c9c08e12e4095cb946455209fa36b
(
patch
)
tree
95902fe9ace291cf67fe7c1ab0ed5f41df92185d
parent
87587736e232ce68de6cba7ef310b4b78028ded8
(
diff
)
tools/mkimage: avoid a linux specific return code
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37368
Diffstat
-rw-r--r--
tools/mkimage/patches/070-avoid_ENOMEDIUM.patch
11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/mkimage/patches/070-avoid_ENOMEDIUM.patch b/tools/mkimage/patches/070-avoid_ENOMEDIUM.patch
new file mode 100644
index 0000000000..53b3aa62c3
--- /dev/null
+++ b/
tools/mkimage/patches/070-avoid_ENOMEDIUM.patch
@@ -0,0 +1,11 @@
+--- 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;
+