From 930031c5d10ce5c4e15979ee0547eb2399709bc7 Mon Sep 17 00:00:00 2001 From: "Alexandros C. Couloumbis" Date: Fri, 1 Oct 2010 16:39:08 +0000 Subject: tools/mtd-utils: update to mtd-utils-20101001, fix FreeBSD (and hopefully Darwin) build issues. SVN-Revision: 23169 --- tools/mtd-utils/patches/133-error-fix.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 tools/mtd-utils/patches/133-error-fix.patch (limited to '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 new file mode 100644 index 0000000000..ada1ea8e44 --- /dev/null +++ b/tools/mtd-utils/patches/133-error-fix.patch @@ -0,0 +1,20 @@ +--- a/mkfs.jffs2.c ++++ b/mkfs.jffs2.c +@@ -471,7 +471,7 @@ static int interpret_table_entry(struct + if (entry) { + /* 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; +@@ -487,7 +487,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; -- cgit v1.2.3