#
-# Patch managed by http://www.holgerschurig.de/patcher.html
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#
---- mtd/util/mkfs.jffs2.c~add-exclusion-to-mkfs-jffs2
-+++ mtd/util/mkfs.jffs2.c
+--- mtd/util/mkfs.jffs2.c~add-exclusion-to-mkfs-jffs2 2004-11-27 00:00:13.000000000 +0100
++++ mtd/util/mkfs.jffs2.c 2005-01-31 22:52:33.830141174 +0100
@@ -92,7 +92,12 @@
struct filesystem_entry *files; /* Only relevant to directories */
};
sb.st_uid, sb.st_gid, sb.st_mode, 0, parent);
+ while ( element ) {
-+ if ( strcmp( element->name, hostpath ) == 0 ) {
-+ printf( "Note: ignoring directories below '%s'\n", hostpath );
++ if ( strcmp( element->name, targetpath ) == 0 ) {
++ printf( "Note: ignoring directories below '%s'\n", targetpath );
+ return entry;
+ break;
+ }