tools/mtd-utils: update to mtd-utils-20101124
[openwrt.git] / tools / mtd-utils / patches / 133-error-fix.patch
1 --- a/mkfs.jffs2.c
2 +++ b/mkfs.jffs2.c
3 @@ -468,7 +468,7 @@ static int interpret_table_entry(struct
4 if (entry) {
5 /* Check the type */
6 if ((mode & S_IFMT) != (entry->sb.st_mode & S_IFMT)) {
7 - error_msg ("skipping device_table entry '%s': type mismatch!", name);
8 + sys_errmsg ("skipping device_table entry '%s': type mismatch!", name);
9 free(name);
10 free(hostpath);
11 return 1;
12 @@ -484,7 +484,7 @@ static int interpret_table_entry(struct
13 }
14 } else {
15 if (type == 'f' || type == 'l') {
16 - error_msg ("skipping device_table entry '%s': file does not exist!", name);
17 + sys_errmsg ("skipping device_table entry '%s': file does not exist!", name);
18 free(name);
19 free(hostpath);
20 return 1;
This page took 0.061626 seconds and 5 git commands to generate.