tools: update kernel2minor to 0.24 version
Signed-off-by: Sergey Sergeev <adron@yapic.net>v19.07.3_mercusys_ac12_duma
parent
07c9bde0da
commit
e2b8e9e0f3
@ -1,13 +0,0 @@
|
|||||||
--- a/yaffs2/yaffs_guts.h
|
|
||||||
+++ b/yaffs2/yaffs_guts.h
|
|
||||||
@@ -17,8 +17,9 @@
|
|
||||||
#define __YAFFS_GUTS_H__
|
|
||||||
|
|
||||||
#include "yportenv.h"
|
|
||||||
+#include <stdint.h>
|
|
||||||
|
|
||||||
-typedef __loff_t loff_t;
|
|
||||||
+typedef int64_t loff_t;
|
|
||||||
|
|
||||||
#define YAFFS_OK 1
|
|
||||||
#define YAFFS_FAIL 0
|
|
@ -1,11 +0,0 @@
|
|||||||
--- a/kernel2minor.c
|
|
||||||
+++ b/kernel2minor.c
|
|
||||||
@@ -622,7 +622,7 @@ int main(int argc, char *argv[]){
|
|
||||||
perror("Can't open kernel file");
|
|
||||||
exit(-1);
|
|
||||||
}
|
|
||||||
- r = creat(res_file, 0);
|
|
||||||
+ r = open(res_file, O_CREAT | O_TRUNC | O_WRONLY, 0644);
|
|
||||||
if(r <= 0){
|
|
||||||
perror("Can't create result file");
|
|
||||||
close(k);
|
|
Loading…
Reference in New Issue