Ignore:
Timestamp:
Oct 3, 2014, 4:19:18 PM (10 years ago)
Author:
porquet
Message:

tsar_boot: fix the number of bytes to read from disk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/softs/tsar_boot/src/reset_utils.c

    r758 r830  
    7777        }
    7878        read_nbyte += (nblk * BLOCK_SIZE);
    79         nbyte -= read_nbyte;
     79        nbyte -= (nblk * BLOCK_SIZE);
    8080        offset_blk += nblk;
    8181    }
Note: See TracChangeset for help on using the changeset viewer.