[orion] generic: use magic_long in sysupgrade
[openwrt.git] / tools / mtd-utils / patches / 133-error-fix.patch
1 --- a/mkfs.jffs2.c
2 +++ b/mkfs.jffs2.c
3 @@ -469,7 +469,7 @@ static int interpret_table_entry(struct
4 if (entry && !(count > 0 && (type == 'c' || type == 'b'))) {
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 @@ -485,7 +485,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.046493 seconds and 5 git commands to generate.