summaryrefslogtreecommitdiffstats
path: root/src/tntfs.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-12-23 17:17:57 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2012-12-23 17:17:57 +0100
commit62a39b9b4513395d24a25481df46b522a23835b0 (patch)
treefb72df2346d652130e3ef36872966a71cbb72d46 /src/tntfs.c
parent8a8d64e8e932bfd7a8939a568adbcfba3763b31c (diff)
Reduce unnecessary interactivity in scripted run
Diffstat (limited to 'src/tntfs.c')
-rw-r--r--src/tntfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tntfs.c b/src/tntfs.c
index 0309b13..4ecafd6 100644
--- a/src/tntfs.c
+++ b/src/tntfs.c
@@ -37,6 +37,7 @@
#include "intrfn.h"
#include "dirpart.h"
#include "ntfs.h"
+#include "ntfs_fix.h"
#include "io_redir.h"
#include "log.h"
#include "log_part.h"
@@ -276,7 +277,7 @@ int ntfs_boot_sector(disk_t *disk_car, partition_t *partition, const int verbose
dir_partition(disk_car, partition, 0,current_cmd);
break;
case 'M':
- repair_MFT(disk_car, partition, verbose, expert);
+ repair_MFT(disk_car, partition, verbose, expert, current_cmd);
break;
case 'R': /* R : rebuild boot sector */
rebuild_NTFS_BS(disk_car, partition, verbose, 1, expert, current_cmd);