mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-27 08:02:25 +02:00
880f27e729
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23194 3c298f89-4303-0410-b956-a3cf2f4a3e73
21 lines
720 B
Diff
21 lines
720 B
Diff
--- a/mkfs.jffs2.c
|
|
+++ b/mkfs.jffs2.c
|
|
@@ -468,7 +468,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;
|
|
@@ -484,7 +484,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;
|