summaryrefslogtreecommitdiffstats
path: root/src/fat_unformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fat_unformat.c')
-rw-r--r--src/fat_unformat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fat_unformat.c b/src/fat_unformat.c
index e915ae6..0b39f58 100644
--- a/src/fat_unformat.c
+++ b/src/fat_unformat.c
@@ -182,9 +182,10 @@ static int fat_unformat_aux(disk_t *disk, partition_t *partition, const int verb
const unsigned int read_size=(blocksize>65536?blocksize:65536);
alloc_data_t *current_search_space;
file_recovery_t file_recovery;
+ reset_file_recovery(&file_recovery);
+ file_recovery.blocksize=blocksize;
buffer_start=(unsigned char *)MALLOC(READ_SIZE);
buffer=buffer_start;
- reset_file_recovery(&file_recovery);
start_time=time(NULL);
previous_time=start_time;
current_search_space=td_list_entry(list_search_space->list.prev, alloc_data_t, list);