summaryrefslogtreecommitdiffstats
path: root/src/analyse.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-24 08:53:38 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-24 08:53:38 +0200
commit7bc36ba905ec4013ec13cf359f1d24df5ad17662 (patch)
treebe062077358da3d3015b9d0e50a890a89728f2c1 /src/analyse.c
parent4553df104b3e240e3acfb97c954e615205fcd7c6 (diff)
"FAT found using backup sector!" message should be set by recover_FAT(), not by search_FAT_backup()
Diffstat (limited to 'src/analyse.c')
-rw-r--r--src/analyse.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/analyse.c b/src/analyse.c
index 07508df..b8a749f 100644
--- a/src/analyse.c
+++ b/src/analyse.c
@@ -125,10 +125,7 @@ int search_FAT_backup(unsigned char *buffer, disk_t *disk, partition_t *partitio
/* FAT32 recovery using backup sector */
if(le16(fat_header->marker)==0xAA55 &&
recover_FAT(disk, fat_header, partition, verbose, dump_ind, 1)==0)
- {
- strncpy(partition->info,"FAT found using backup sector!",sizeof(partition->info));
return 1;
- }
}
return 0;
}