summaryrefslogtreecommitdiff
path: root/packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch')
-rw-r--r--packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch b/packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch
index e6bb48c9e0..b63868cbb2 100644
--- a/packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch
+++ b/packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch
@@ -1,10 +1,10 @@
#
-# 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 */
};
@@ -31,8 +31,8 @@
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;
+ }