Changeset 30678


Ignore:
Timestamp:
2012-02-22T13:30:24+01:00 (5 years ago)
Author:
jow
Message:

[package] iwinfo: fix logic flaw in mtd partition check

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/iwinfo/src/iwinfo_utils.c

    r30664 r30678  
    166166        { 
    167167                if (fscanf(mtd, "mtd%d: %*x %x %127s", &off, &len, buf) < 3 || 
    168                     strcmp(buf, "\"boardconfig\"") || strcmp(buf, "\"EEPROM\"")) 
     168                    (strcmp(buf, "\"boardconfig\"") && strcmp(buf, "\"EEPROM\""))) 
    169169                { 
    170170                        off = -1; 
Note: See TracChangeset for help on using the changeset viewer.