Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/mtd

Buildroot sjhill at uclibc.org 1 participant 1 message Feb 6, 2007

lore
Share & tools
lore
#0 lore raw

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
===================================================================

buildroot/package/mtd/mtd.patch +1 -1
@@ -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) {