mtd/util flash_eraseall.c,1.20,1.21
gleixner at infradead.org
gleixner at infradead.org
Thu Jan 27 05:05:04 EST 2005
- Previous message: mtd/fs/jffs3 write.c, 3.10, 3.11 wbuf.c, 3.11, 3.12 nodemgmt.c, 3.14,
3.15 debug.h, 1.22, 1.23
- Next message: mtd/fs/jffs3 JFFS3design.tex,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/util
In directory phoenix.infradead.org:/tmp/cvs-serv9673
Modified Files:
flash_eraseall.c
Log Message:
Bah. I will never understand why errnos are sign inverted in kernel and userspace
Index: flash_eraseall.c
===================================================================
RCS file: /home/cvs/mtd/util/flash_eraseall.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- flash_eraseall.c 25 Jan 2005 14:43:53 -0000 1.20
+++ flash_eraseall.c 27 Jan 2005 10:05:01 -0000 1.21
@@ -135,7 +135,7 @@
printf ("\nSkipping bad block at 0x%08x\n", erase.start);
continue;
} else if (ret < 0) {
- if (errno == -EOPNOTSUPP) {
+ if (errno == EOPNOTSUPP) {
bbtest = 0;
if (isNAND) {
fprintf(stderr, "%s: %s: Bad block check not available\n", exe_name, mtd_device);
- Previous message: mtd/fs/jffs3 write.c, 3.10, 3.11 wbuf.c, 3.11, 3.12 nodemgmt.c, 3.14,
3.15 debug.h, 1.22, 1.23
- Next message: mtd/fs/jffs3 JFFS3design.tex,1.9,1.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list