pull/137/merge
safocl 2025-01-29 03:11:29 +04:00 committed by GitHub
commit ca1658341d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -4683,10 +4683,10 @@ static BOOL mkntfs_create_root_structures(void)
1);
if ((u32)(1 << -bs->clusters_per_mft_record) !=
g_vol->mft_record_size) {
free(bs);
ntfs_log_error("BUG: calculated clusters_per_mft_record"
" is wrong (= 0x%x)\n",
bs->clusters_per_mft_record);
free(bs);
return FALSE;
}
}
@ -4700,11 +4700,11 @@ static BOOL mkntfs_create_root_structures(void)
bs->clusters_per_index_record = -g_vol->indx_record_size_bits;
if ((1 << -bs->clusters_per_index_record) !=
(s32)g_vol->indx_record_size) {
free(bs);
ntfs_log_error("BUG: calculated "
"clusters_per_index_record is wrong "
"(= 0x%x)\n",
bs->clusters_per_index_record);
free(bs);
return FALSE;
}
}