2010-10-01 16:39:08 +00:00
|
|
|
--- a/mkfs.jffs2.c
|
|
|
|
+++ b/mkfs.jffs2.c
|
2010-10-03 12:15:04 +00:00
|
|
|
@@ -468,7 +468,7 @@ static int interpret_table_entry(struct
|
2010-10-01 16:39:08 +00:00
|
|
|
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;
|
2010-10-03 12:15:04 +00:00
|
|
|
@@ -484,7 +484,7 @@ static int interpret_table_entry(struct
|
2010-10-01 16:39:08 +00:00
|
|
|
}
|
|
|
|
} 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;
|