[Buildroot] svn commit: trunk/buildroot/package/mtd

sjhill at uclibc.org sjhill at uclibc.org
Tue Feb 6 18:09:55 UTC 2007


Author: sjhill
Date: 2007-02-06 10:09:54 -0800 (Tue, 06 Feb 2007)
New Revision: 17795

Log:
Wrong sign dufus.


Modified:
   trunk/buildroot/package/mtd/mtd.patch


Changeset:
Modified: trunk/buildroot/package/mtd/mtd.patch
===================================================================
--- trunk/buildroot/package/mtd/mtd.patch	2007-02-06 17:38:29 UTC (rev 17794)
+++ trunk/buildroot/package/mtd/mtd.patch	2007-02-06 18:09:54 UTC (rev 17795)
@@ -15,7 +15,7 @@
  					printf ("\nSkipping bad block at 0x%08x\n", erase.start);
  				continue;
 -			} else if (ret == -EOPNOTSUPP) {
-+			} else if (errno == -EOPNOTSUPP) {
++			} else if (errno == EOPNOTSUPP) {
  				fprintf(stderr, "%s: %s: Bad block check not available\n", exe_name, mtd_device);
  				bbtest = 0;
  			} else if (ret < 0) {




More information about the buildroot mailing list