diff options
author | James <> | 2013-03-17 12:16:37 +0000 |
---|---|---|
committer | James <> | 2013-03-17 12:16:37 +0000 |
commit | 27b76ab0671089c47506615a796a261e993896a7 (patch) | |
tree | 61213d67e7fa87b20356b23798558e2c4212c42f /tools/mtd-utils/patches/133-error-fix.patch | |
download | trunk-36060-master.tar.gz trunk-36060-master.tar.bz2 trunk-36060-master.zip |
Diffstat (limited to 'tools/mtd-utils/patches/133-error-fix.patch')
-rw-r--r-- | tools/mtd-utils/patches/133-error-fix.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/mtd-utils/patches/133-error-fix.patch b/tools/mtd-utils/patches/133-error-fix.patch new file mode 100644 index 0000000..4854138 --- /dev/null +++ b/tools/mtd-utils/patches/133-error-fix.patch @@ -0,0 +1,20 @@ +--- 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; |