X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=tools%2Fmtd-utils%2Fpatches%2F133-error-fix.patch;fp=tools%2Fmtd-utils%2Fpatches%2F133-error-fix.patch;h=4854138d0237356924608eb368f32a4bc6df0b25;hb=d9be75a3fc46a79bac86f395c165e58e1d857178;hp=0fe072a6fb06febcf7405b41d78d945840ce2b73;hpb=f265cbac9ee8ad0ddaa9502dce5a7e7f89732664;p=15.05%2Fopenwrt.git diff --git a/tools/mtd-utils/patches/133-error-fix.patch b/tools/mtd-utils/patches/133-error-fix.patch index 0fe072a6fb..4854138d02 100644 --- a/tools/mtd-utils/patches/133-error-fix.patch +++ b/tools/mtd-utils/patches/133-error-fix.patch @@ -1,7 +1,7 @@ --- a/mkfs.jffs2.c +++ b/mkfs.jffs2.c -@@ -468,7 +468,7 @@ static int interpret_table_entry(struct - if (entry) { +@@ -469,7 +469,7 @@ static int interpret_table_entry(struct + if (entry && !(count > 0 && (type == 'c' || type == 'b'))) { /* Check the type */ if ((mode & S_IFMT) != (entry->sb.st_mode & S_IFMT)) { - error_msg ("skipping device_table entry '%s': type mismatch!", name); @@ -9,7 +9,7 @@ free(name); free(hostpath); return 1; -@@ -484,7 +484,7 @@ static int interpret_table_entry(struct +@@ -485,7 +485,7 @@ static int interpret_table_entry(struct } } else { if (type == 'f' || type == 'l') {