summaryrefslogtreecommitdiffstats
path: root/src/dir.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/dir.c
parent40d42f278d7dbf4fe7d7a23a4ca802317bc576a9 (diff)
Fix file copy regression by removing static declaration of file_info_t structure
Diffstat (limited to 'src/dir.c')
-rw-r--r--src/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dir.c b/src/dir.c
index aa0c78b..b07cee0 100644
--- a/src/dir.c
+++ b/src/dir.c
@@ -272,7 +272,7 @@ static int dir_whole_partition_log_aux(disk_t *disk, const partition_t *partitio
static unsigned int dir_nbr=0;
static unsigned long int inode_known[MAX_DIR_NBR];
const unsigned int current_directory_namelength=strlen(dir_data->current_directory);
- static file_info_t dir_list = {
+ file_info_t dir_list = {
.list = TD_LIST_HEAD_INIT(dir_list.list),
.name = NULL
};