mtd/util nandwrite.c,1.24,1.25
Artem Bityuckiy
dedekind at infradead.org
Thu Mar 24 10:55:37 EST 2005
Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv16936
Modified Files:
nandwrite.c
Log Message:
Don't use perror if the error doesn't set errno.
Index: nandwrite.c
===================================================================
RCS file: /home/cvs/mtd/util/nandwrite.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- nandwrite.c 17 Mar 2005 14:08:34 -0000 1.24
+++ nandwrite.c 24 Mar 2005 15:55:34 -0000 1.25
@@ -303,7 +303,7 @@
// Check, if file is pagealigned
if ((!pad) && ((imglen % pagelen) != 0)) {
- perror ("Input file is not page aligned");
+ fprintf (stderr, "Input file is not page aligned");
goto closeall;
}
More information about the linux-mtd-cvs
mailing list