Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- max_sector = header.total_bytes / header.block_size - 1;
- - start_sec = pos / SECTOR_SIZE;
- - end_sec = (pos + size - 1) / SECTOR_SIZE;
- + start_sec = pos / header.block_size;
- + end_sec = (pos + size - 1) / header.block_size;
- sector_num = start_sec;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement