Ignore:
Timestamp:
Mar 15, 2017, 1:53:13 PM (4 months ago)
Author:
brainslayer
Message:

fix fs detection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.5/arch/mips/brcm-boards/bcm947xx/setup.c

    r20872 r31672  
    494494                               "%s: squash filesystem with lzma found at offset %d\n",
    495495                               mtd->name, off );
    496                 int size = squashfsb->bytes_used;
     496                int size = le64_to_cpu(squashfsb->bytes_used);
    497497                //part->size = part->size + 1024; /* uncomment for belkin v2000 ! */
    498498                int len = offset + size;
Note: See TracChangeset for help on using the changeset viewer.