summaryrefslogtreecommitdiffstats
path: root/src/phrecn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-08 10:22:44 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-08 10:22:44 +0200
commitc7373142a8955fbfe9eacb204c95da1a96e72b21 (patch)
tree9c92f7d6ecb2be4bd36ec56f5a9183ba74831df4 /src/phrecn.c
parent40d42f278d7dbf4fe7d7a23a4ca802317bc576a9 (diff)
Fix file copy regression by removing static declaration of file_info_t structure
Diffstat (limited to 'src/phrecn.c')
-rw-r--r--src/phrecn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phrecn.c b/src/phrecn.c
index eb62a29..9a72e4d 100644
--- a/src/phrecn.c
+++ b/src/phrecn.c
@@ -311,7 +311,7 @@ static int photorec_aux(struct ph_param *params, const struct ph_options *option
if(file_recovery.file_stat->file_hint==&file_hint_dir && options->verbose > 0)
{ /* FAT directory found, list the file */
- static file_info_t dir_list = {
+ file_info_t dir_list = {
.list = TD_LIST_HEAD_INIT(dir_list.list),
.name = NULL
};