mtd/util nanddump.c,1.20,1.21

Artem Bityuckiy dedekind at infradead.org
Thu Dec 2 12:08:16 EST 2004


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

Modified Files:
	nanddump.c 
Log Message:
Bugfix: MEMGETBADBLOCK now accepts loff_t type which is long long.


Index: nanddump.c
===================================================================
RCS file: /home/cvs/mtd/util/nanddump.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- nanddump.c	2 Dec 2004 17:01:50 -0000	1.20
+++ nanddump.c	2 Dec 2004 17:08:13 -0000	1.21
@@ -149,7 +149,8 @@
  */
 int main(int argc, char **argv)
 {
-	unsigned long ofs, blockstart = 1, end_addr = 0;
+	unsigned long ofs, end_addr = 0;
+	unsigned long long blockstart = 1;
 	int i, fd, ofd, bs, badblock = 0;
 	struct mtd_oob_buf oob = {0, 16, oobbuf};
 	mtd_info_t meminfo;





More information about the linux-mtd-cvs mailing list