Changeset 17523


Ignore:
Timestamp:
2009-09-06T01:40:13+02:00 (8 years ago)
Author:
nbd
Message:

merge mtd fix from r17522

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/8.09/package/mtd/src/mtd.c

    r12828 r17523  
    287287 
    288288                if (jffs2file) { 
    289                         if (memcmp(buf, JFFS2_EOF, sizeof(JFFS2_EOF)) == 0) { 
     289                        if (memcmp(buf, JFFS2_EOF, sizeof(JFFS2_EOF) - 1) == 0) { 
    290290                                if (!quiet) 
    291291                                        fprintf(stderr, "\b\b\b   "); 
Note: See TracChangeset for help on using the changeset viewer.