summaryrefslogtreecommitdiffstats
path: root/src/dirn.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/dirn.c
parent40d42f278d7dbf4fe7d7a23a4ca802317bc576a9 (diff)
Fix file copy regression by removing static declaration of file_info_t structure
Diffstat (limited to 'src/dirn.c')
-rw-r--r--src/dirn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dirn.c b/src/dirn.c
index bd9a4ff..3b7229b 100644
--- a/src/dirn.c
+++ b/src/dirn.c
@@ -594,7 +594,7 @@ static void copy_dir(WINDOW *window, disk_t *disk, const partition_t *partition,
{
static unsigned int dir_nbr=0;
static unsigned long int inode_known[MAX_DIR_NBR];
- static file_info_t dir_list = {
+ file_info_t dir_list = {
.list = TD_LIST_HEAD_INIT(dir_list.list),
.name = NULL
};