X-Git-Url: http://git.ozo.com/?a=blobdiff_plain;f=tools%2Fmtd-utils%2Fpatches%2F133-error-fix.patch;h=4854138d0237356924608eb368f32a4bc6df0b25;hb=d9be75a3fc46a79bac86f395c165e58e1d857178;hp=ada1ea8e44c3be8fe284690109c0ed2fbb88478c;hpb=5dab71a4026a43ee90f05111d5c49734e3d16015;p=openwrt-github%2F.git diff --git a/tools/mtd-utils/patches/133-error-fix.patch b/tools/mtd-utils/patches/133-error-fix.patch index ada1ea8e44..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 -@@ -471,7 +471,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; -@@ -487,7 +487,7 @@ static int interpret_table_entry(struct +@@ -485,7 +485,7 @@ static int interpret_table_entry(struct } } else { if (type == 'f' || type == 'l') {