summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-03-10 07:15:52 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-03-10 07:15:52 +0100
commit9c8a8341b17601699a7718e4c89309cd40bc3b97 (patch)
treeb9958b4b80cf9c8b4f6698ec0b9558998efb8273 /src
parentdb11ba13c878625cde8bb27fed2d9394f45196df (diff)
Add a warning when fixing MFT
Diffstat (limited to 'src')
-rw-r--r--src/ntfs_fix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ntfs_fix.c b/src/ntfs_fix.c
index e2b26d0..bf95ddf 100644
--- a/src/ntfs_fix.c
+++ b/src/ntfs_fix.c
@@ -199,7 +199,7 @@ int repair_MFT(disk_t *disk_car, partition_t *partition, const int verbose, cons
if(res1>res2)
{
/* Use MFT */
- if(ask_confirmation("Fix MFT mirror ? (Y/N)")!=0)
+ if(ask_confirmation("Fix MFT mirror %s? (Y/N)", (res1>0?"":"(not recommanded) "))!=0)
use_MFT=1;
else
log_info("Don't fix MFT mirror.\n");
@@ -207,7 +207,7 @@ int repair_MFT(disk_t *disk_car, partition_t *partition, const int verbose, cons
else if(res1<res2)
{
/* Use MFT mirror */
- if(ask_confirmation("Fix MFT ? (Y/N)")!=0)
+ if(ask_confirmation("Fix MFT %s? (Y/N)", (res2>0?"":"(not recommanded) "))!=0)
use_MFT=2;
else
log_info("Don't fix MFT.\n");