summaryrefslogtreecommitdiffstats
path: root/src/tntfs.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2018-06-22 19:05:04 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2018-06-22 19:05:04 +0200
commit2d36e835ba016468e3e59f7bd02716a2bb30948d (patch)
tree989bdc00217e794ce2059661a69d24623403656a /src/tntfs.c
parent45259e8a1650f77d38864c3b13b93e14ef6fc714 (diff)
List NTFS system files when expert mode is enabled.
Diffstat (limited to 'src/tntfs.c')
-rw-r--r--src/tntfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tntfs.c b/src/tntfs.c
index 9594f8e..a1ae87d 100644
--- a/src/tntfs.c
+++ b/src/tntfs.c
@@ -282,11 +282,11 @@ int ntfs_boot_sector(disk_t *disk, partition_t *partition, const int verbose, co
if(strchr(options,'O')==NULL && strchr(options,'B')!=NULL)
{
io_redir_add_redir(disk,partition->part_offset,NTFS_BOOT_SECTOR_SIZE,0,buffer_backup_bs);
- dir_partition(disk, partition, 0,current_cmd);
+ dir_partition(disk, partition, 0, expert, current_cmd);
io_redir_del_redir(disk,partition->part_offset);
}
else
- dir_partition(disk, partition, 0,current_cmd);
+ dir_partition(disk, partition, 0, expert, current_cmd);
break;
case 'M':
repair_MFT(disk, partition, verbose, expert, current_cmd);