svn commit: trunk/busybox/miscutils

vda at busybox.net vda at busybox.net
Tue Feb 24 16:47:04 UTC 2009


Author: vda
Date: 2009-02-24 16:47:03 +0000 (Tue, 24 Feb 2009)
New Revision: 25446

Log:
flash_eraseall.c: fix vda's breakage



Modified:
   trunk/busybox/miscutils/flash_eraseall.c


Changeset:
Modified: trunk/busybox/miscutils/flash_eraseall.c
===================================================================
--- trunk/busybox/miscutils/flash_eraseall.c	2009-02-24 14:31:14 UTC (rev 25445)
+++ trunk/busybox/miscutils/flash_eraseall.c	2009-02-24 16:47:03 UTC (rev 25446)
@@ -142,7 +142,7 @@
 				 * types e.g. NOR
 				 */
 				if (errno == EOPNOTSUPP) {
-					flags = ~BBTEST;
+					flags &= ~BBTEST;
 					if (flags & IS_NAND)
 						bb_error_msg_and_die("bad block check not available");
 				} else {



More information about the busybox-cvs mailing list