X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f55c08db991c8d530fee53c06a51a84c9348bf57..8948cb281481af6bab794ce8f553dec1597a1b06:/tools/mtd-utils/patches/133-error-fix.patch diff --git a/tools/mtd-utils/patches/133-error-fix.patch b/tools/mtd-utils/patches/133-error-fix.patch index ada1ea8e4..4854138d0 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') {