summaryrefslogtreecommitdiffstats
path: root/src/tntfs.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-02-03 09:29:29 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-02-03 09:29:29 +0100
commit203df0e3a588f01ebfb60428eb1a5ab258a4969d (patch)
tree022c7facc406d0eea910638c7b41355964ee8549 /src/tntfs.c
parentc6e94c6adfe071f4510190069638d70d59675f42 (diff)
Fix some compilation warnings
Diffstat (limited to 'src/tntfs.c')
-rw-r--r--src/tntfs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tntfs.c b/src/tntfs.c
index 8d7c552..def2818 100644
--- a/src/tntfs.c
+++ b/src/tntfs.c
@@ -71,7 +71,7 @@ static void dump_NTFS(disk_t *disk_car, const partition_t *partition, const unsi
#endif
}
-int ntfs_boot_sector(disk_t *disk_car, partition_t *partition, const int verbose, const int dump_ind, const unsigned int expert, char **current_cmd)
+int ntfs_boot_sector(disk_t *disk_car, partition_t *partition, const int verbose, const unsigned int expert, char **current_cmd)
{
unsigned char *buffer_bs;
unsigned char *buffer_backup_bs;
@@ -279,10 +279,10 @@ 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, current_cmd);
+ repair_MFT(disk_car, partition, verbose, expert);
break;
case 'R': /* R : rebuild boot sector */
- rebuild_NTFS_BS(disk_car,partition,verbose,dump_ind,1,expert,current_cmd);
+ rebuild_NTFS_BS(disk_car, partition, verbose, 1, expert, current_cmd);
rescan=1;
break;
case 'D':