summaryrefslogtreecommitdiffstats
path: root/src/ntfs_adv.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2016-07-10 09:14:34 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2016-07-10 09:14:34 +0200
commit3932c37783d5e943c9fafe71b3e7126408f8ac7e (patch)
tree8434bbaa07458fa585a0474dd9c34af24090a506 /src/ntfs_adv.c
parentd01e793ca4019f06480484a9d89942df6e6ddd8b (diff)
Fix mft_record_size - "Fix MFT" wasn't working
Diffstat (limited to 'src/ntfs_adv.c')
-rw-r--r--src/ntfs_adv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ntfs_adv.c b/src/ntfs_adv.c
index 86c67c4..346ee8f 100644
--- a/src/ntfs_adv.c
+++ b/src/ntfs_adv.c
@@ -661,7 +661,7 @@ int rebuild_NTFS_BS(disk_t *disk_car, partition_t *partition, const int verbose,
log_info("ntfs_find_mft: sectors_per_cluster %u\n",sectors_per_cluster);
log_info("ntfs_find_mft: mft_lcn %lu\n",(long unsigned int)mft_lcn);
log_info("ntfs_find_mft: mftmirr_lcn %lu\n",(long unsigned int)mftmirr_lcn);
- log_info("ntfs_find_mft: mft_record_size %u\n",mft_record_size);
+ log_info("ntfs_find_mft: mft_record_size %u bytes\n",mft_record_size);
/* Read "root directory" in MFT */
if((unsigned)disk_car->pread(disk_car, &buffer, mft_record_size, partition->part_offset + (uint64_t)mft_lcn * sectors_per_cluster * disk_car->sector_size + 5 * (uint64_t)mft_record_size) != mft_record_size)
{