1 diff -urN mtd.old/include/asm/types.h mtd.dev/include/asm/types.h
2 --- mtd.old/include/asm/types.h 1970-01-01 01:00:00.000000000 +0100
3 +++ mtd.dev/include/asm/types.h 2006-09-27 16:50:03.000000000 +0200
6 +#include_next <asm/types.h>
8 diff -urN mtd.old/util/mkfs.jffs2.c mtd.dev/util/mkfs.jffs2.c
9 --- mtd.old/util/mkfs.jffs2.c 2004-11-27 00:00:13.000000000 +0100
10 +++ mtd.dev/util/mkfs.jffs2.c 2006-09-27 16:51:56.000000000 +0200
17 /* Do not use the wierd XPG version of basename */
22 printf("\td %04o %9lu %5d:%-3d %s\n",
23 - e->sb.st_mode & ~S_IFMT, e->sb.st_size,
24 + e->sb.st_mode & ~S_IFMT, (unsigned long)e->sb.st_size,
25 (int) (e->sb.st_uid), (int) (e->sb.st_gid),
31 printf("\ts %04o %9lu %5d:%-3d %s\n",
32 - e->sb.st_mode & ~S_IFMT, e->sb.st_size,
33 + e->sb.st_mode & ~S_IFMT, (unsigned long)e->sb.st_size,
34 (int) e->sb.st_uid, (int) e->sb.st_gid, e->name);
40 printf("\tp %04o %9lu %5d:%-3d %s\n",
41 - e->sb.st_mode & ~S_IFMT, e->sb.st_size,
42 + e->sb.st_mode & ~S_IFMT, (unsigned long)e->sb.st_size,
43 (int) e->sb.st_uid, (int) e->sb.st_gid, e->name);
49 printf("\tl %04o %9lu %5d:%-3d %s -> %s\n",
50 - e->sb.st_mode & ~S_IFMT, e->sb.st_size,
51 + e->sb.st_mode & ~S_IFMT, (unsigned long)e->sb.st_size,
52 (int) e->sb.st_uid, (int) e->sb.st_gid, e->name,
58 printf("\tf %04o %9lu %5d:%-3d %s\n",
59 - e->sb.st_mode & ~S_IFMT, e->sb.st_size,
60 + e->sb.st_mode & ~S_IFMT, (unsigned long)e->sb.st_size,
61 (int) e->sb.st_uid, (int) e->sb.st_gid, e->name);
63 write_regular_file(e);