mtd/util jffs3.h,NONE,1.1 sumtool.c,1.1,1.2

havasi at infradead.org havasi at infradead.org
Wed Jan 5 03:33:11 EST 2005


Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv30556

Modified Files:
	sumtool.c 
Added Files:
	jffs3.h 
Log Message:

Fix summary related to missing jffs3.h header file and
Artem's kernel space changes



***** Error reading new file: [Errno 2] No such file or directory: 'jffs3.h'
Index: sumtool.c
===================================================================
RCS file: /home/cvs/mtd/util/sumtool.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sumtool.c	21 Dec 2004 15:18:51 -0000	1.1
+++ sumtool.c	5 Jan 2005 08:33:07 -0000	1.2
@@ -42,7 +42,7 @@
 #include <sys/param.h>
 #include <asm/types.h>
 #include <dirent.h>
-#include "jffs3-user.h"
+#include "jffs3.h"
 #include <endian.h>
 #include <byteswap.h>
 #include <getopt.h>
@@ -50,12 +50,12 @@
 
 #define CONFIG_JFFS3_SUMMARY
 #define SUM_TOOL
-#include "../fs/jffs3/summary.h"
+#include "summary.h"
 
 
 #define PAD(x) (((x)+3)&~3)
 
-static const char *const app_name = "sumtool3";
+static const char *const app_name = "sumtool";
 
 static struct jffs3_sum_info *sum_collected = NULL;/* summary info list */
 
@@ -94,7 +94,7 @@
 };
 
 static char *helptext =
-	"Usage: sumtool3 [OPTIONS] -i inputfile -o outputfile\n"
+	"Usage: sumtool [OPTIONS] -i inputfile -o outputfile\n"
 	"Convert the input JFFS3 file to a SUM-ed JFFS3 file\n\n"
 	"Options:\n"
 	"  -e, --eraseblock=SIZE     Use erase block size SIZE (default: 64KiB)\n"





More information about the linux-mtd-cvs mailing list