mtd/util nandwrite.c,1.28,1.29

gleixner at infradead.org gleixner at infradead.org
Thu Mar 24 15:42:08 EST 2005


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

Modified Files:
	nandwrite.c 
Log Message:
Oops. I really start to adopt dwmw2's bad habits

Index: nandwrite.c
===================================================================
RCS file: /home/cvs/mtd/util/nandwrite.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- nandwrite.c	24 Mar 2005 20:39:51 -0000	1.28
+++ nandwrite.c	24 Mar 2005 20:42:05 -0000	1.29
@@ -281,11 +281,11 @@
 		struct nand_oobinfo *oobsel = forcejffs2 ? &jffs2_oobinfo : &yaffs_oobinfo;
 
 		if (autoplace) {
-			fprintf("Autoplacement is not possible for legacy -j/-y options\n");
+			fprintf(stderr, "Autoplacement is not possible for legacy -j/-y options\n");
 			goto restoreoob;
 		}
 		if ((old_oobinfo.useecc == MTD_NANDECC_AUTOPLACE) && !forcelegacy) {
-			fprintf("Use -f option to enforce legacy placement on autoplacement enabled mtd device\n");
+			fprintf(stderr, "Use -f option to enforce legacy placement on autoplacement enabled mtd device\n");
 			goto restoreoob;
 		}
 		if (meminfo.oobsize == 8) {





More information about the linux-mtd-cvs mailing list