mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
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:
@@ -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;
|
||||
Reference in New Issue
Block a user