ubi-utils-klibc: initial commit of version 1.4.9

* Initially only ubiattach was targeted (for kexecboot project).
* Based on klibc_1.5.25, will be revised once new klibc is out.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Andrea Adami
2012-04-29 22:51:33 +00:00
committed by Koen Kooi
parent 7d85a77fb4
commit c39bea00e2
5 changed files with 208 additions and 0 deletions
@@ -0,0 +1,24 @@
--- a/lib/libmtd.c 2012-04-29 21:44:52.000000000 +0200
+++ b/lib/libmtd.c 2012-04-29 21:43:04.000000000 +0200
@@ -441,8 +441,8 @@
return -1;
}
- major = major(st.st_rdev);
- minor = minor(st.st_rdev);
+ major = __major(st.st_rdev);
+ minor = __minor(st.st_rdev);
if (mtd_get_info((libmtd_t *)lib, &info))
return -1;
@@ -1381,8 +1381,8 @@
return -1;
}
- major = major(st.st_rdev);
- minor = minor(st.st_rdev);
+ major = __major(st.st_rdev);
+ minor = __minor(st.st_rdev);
if (mtd_get_info((libmtd_t *)lib, &info))
return -1;