2010-10-01 19:39:08 +03:00
|
|
|
--- a/mkfs.jffs2.c
|
|
|
|
+++ b/mkfs.jffs2.c
|
2012-03-01 21:55:48 +02:00
|
|
|
@@ -469,7 +469,7 @@ static int interpret_table_entry(struct
|
|
|
|
if (entry && !(count > 0 && (type == 'c' || type == 'b'))) {
|
2010-10-01 19:39:08 +03:00
|
|
|
/* 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;
|
2012-03-01 21:55:48 +02:00
|
|
|
@@ -485,7 +485,7 @@ static int interpret_table_entry(struct
|
2010-10-01 19:39:08 +03: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;
|