mtd-utils: and now the real typo (thanks for bk sfiles -c)
authorMichael Lauer <mickey@vanille-media.de>
Mon, 31 Jan 2005 22:51:29 +0000 (22:51 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Mon, 31 Jan 2005 22:51:29 +0000 (22:51 +0000)
BKrev: 41feb671XfB7WJqI-tyTHwtOfsO5PA

packages/mtd/mtd-utils/add-exclusion-to-mkfs-jffs2.patch

index e6bb48c..b63868c 100644 (file)
@@ -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;
 +              }