summaryrefslogtreecommitdiffstats
path: root/src/fidentify.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-12-11 08:57:56 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-12-11 08:57:56 +0100
commite09d7251baab03207cd4c9ed4ebe398ace5c4e8c (patch)
treedb15382850dd36e49614d6c40ed1962815ebbfcc /src/fidentify.c
parent25cda512e4966bedb5520bdbc4fb0c1ee1879d92 (diff)
fidentify: enable all file formats
Diffstat (limited to 'src/fidentify.c')
-rw-r--r--src/fidentify.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/fidentify.c b/src/fidentify.c
index 15c4582..42ad9bd 100644
--- a/src/fidentify.c
+++ b/src/fidentify.c
@@ -163,14 +163,19 @@ int main(int argc, char **argv)
#endif
my_time=time(NULL);
log_info("\n\n%s",ctime(&my_time));
- log_info("Command line: PhotoRec");
+ log_info("Command line: fidentify");
for(i=1;i<argc;i++)
log_info(" %s", argv[i]);
log_info("\n\n");
log_flush();
}
log_info("fidentify %s, Data Recovery Utility, %s\nChristophe GRENIER <grenier@cgsecurity.org>\nhttp://www.cgsecurity.org\n", VERSION, TESTDISKDATE);
- reset_list_file_enable(list_file_enable);
+ {
+ /* Enable all file formats */
+ file_enable_t *file_enable;
+ for(file_enable=list_file_enable;file_enable->file_hint!=NULL;file_enable++)
+ file_enable->enable=1;
+ }
file_stats=init_file_stats(list_file_enable);
if(argc>1)
{