mtd/util jffs2dump.c,1.3,1.4

gleixner at infradead.org gleixner at infradead.org
Fri May 7 08:53:32 EDT 2004


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

Modified Files:
	jffs2dump.c 
Log Message:
initialize target_endian for default usage

Index: jffs2dump.c
===================================================================
RCS file: /home/cvs/mtd/util/jffs2dump.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- jffs2dump.c	5 May 2004 11:57:55 -0000	1.3
+++ jffs2dump.c	7 May 2004 12:53:29 -0000	1.4
@@ -87,7 +87,7 @@
 int 	verbose;		// verbose output
 char 	*img;			// filename of image
 int	dumpcontent;		// dump image content
-int	target_endian;		// image is big endian
+int	target_endian = __BYTE_ORDER;	// image endianess
 int	convertendian;		// convert endianness
 int	recalccrc;		// recalc name and data crc's on endian conversion
 char	cnvfile[256];		// filename for conversion output




More information about the linux-mtd-cvs mailing list