mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-03-15 04:25:06 +00:00
Fix FileSysFAT.ZC code formatting.
This commit is contained in:
parent
a92ca05746
commit
876ea98c18
1 changed files with 1 additions and 2 deletions
|
@ -1045,8 +1045,7 @@ Bool FAT32MkDir(CDrive *drive, U8 *cur_dir, U8 *name, I64 entry_count)
|
||||||
{
|
{
|
||||||
I64 c, cur_dir_clus = Name2DirClus(drive, cur_dir),
|
I64 c, cur_dir_clus = Name2DirClus(drive, cur_dir),
|
||||||
//Rough estimate of size
|
//Rough estimate of size
|
||||||
size = CeilU64((entry_count + 2) << FAT32_ENTRIES_BITS,
|
size = CeilU64((entry_count + 2) << FAT32_ENTRIES_BITS, drive->spc << BLK_SIZE_BITS);
|
||||||
drive->spc << BLK_SIZE_BITS);
|
|
||||||
U8 *buf = CAlloc(size);
|
U8 *buf = CAlloc(size);
|
||||||
CDirEntry d_native;
|
CDirEntry d_native;
|
||||||
CFAT32DirEntry *dFAT = buf;
|
CFAT32DirEntry *dFAT = buf;
|
||||||
|
|
Loading…
Reference in a new issue