Skip to content
Snippets Groups Projects
Commit 60b36f0f authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Wolfgang Denk
Browse files

fat: cannot compare bytes and sectors


The code multiples the FAT size in sectors by the sector size and then tries to
compare that to the number of sectors in the 'getsize' variable.  While fixing
this, also change the initial value of 'getsize' as the division of FATBUFSIZE
by the sector size gets us FATBUFBLOCKS.

Signed-off-by: default avatarSergei Shtylyov <sshtylyov@mvista.com>
parent ac497771
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment