mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
3698c6a391
This updates mtd-utils in tools: 100-optional_lzo.patch and 101-ubifs-optional_lzo.patch are now uneeded as a WITHOUT_LZO flag is provided by the upstream sources. All remaining patches are refreshed for the new version. 135-mkubifs_optional_lzo.patch was created to respect WITHOUT_LZO also in mkubifs. Signed-off-by: Daniel Golle <dgolle@allnet.de> SVN-Revision: 30769
21 lines
766 B
Diff
21 lines
766 B
Diff
--- 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;
|