tools/mtd-utils: upgrade to latest git
[openwrt/staging/lynxis/omap.git] / 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
deleted file mode 100644 (file)
index 4854138..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/mkfs.jffs2.c
-+++ b/mkfs.jffs2.c
-@@ -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);
-+                      sys_errmsg ("skipping device_table entry '%s': type mismatch!", name);
-                       free(name);
-                       free(hostpath);
-                       return 1;
-@@ -485,7 +485,7 @@ static int interpret_table_entry(struct
-               }
-       } else {
-               if (type == 'f' || type == 'l') {
--                      error_msg ("skipping device_table entry '%s': file does not exist!", name);
-+                      sys_errmsg ("skipping device_table entry '%s': file does not exist!", name);
-                       free(name);
-                       free(hostpath);
-                       return 1;