summaryrefslogtreecommitdiff
path: root/packages/mtd/mtd-utils
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-01-31 22:51:29 +0000
committerMichael Lauer <mickey@vanille-media.de>2005-01-31 22:51:29 +0000
commitb4099dc0b292d25c7c0e33467ccb1921f16b1f18 (patch)
tree0ac4c9a537503397461990859c2b66bfe2e2957b /packages/mtd/mtd-utils
parent9f8878b0854438cbcb051cae356ee0fab17450fa (diff)
mtd-utils: and now the real typo (thanks for bk sfiles -c)
BKrev: 41feb671XfB7WJqI-tyTHwtOfsO5PA
Diffstat (limited to 'packages/mtd/mtd-utils')
-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;
+ }