From 0a9c6354a65efea4c602957644561ad7120722f9 Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Sun, 26 Jul 2009 12:09:16 +0200 Subject: [PATCH] PhotoRec: Log the sector number when a FAT directory is found --- src/phrecn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/phrecn.c b/src/phrecn.c index 375efda5..dea4b887 100644 --- a/src/phrecn.c +++ b/src/phrecn.c @@ -322,6 +322,8 @@ static int photorec_aux(disk_t *disk_car, partition_t *partition, const int verb dir_list=dir_fat_aux(buffer,read_size,0,0); if(dir_list!=NULL) { + log_info("Sector %lu\n", + (unsigned long)(file_recovery.location.start/disk_car->sector_size)); dir_aff_log(NULL, dir_list); delete_list_file(dir_list); }