summaryrefslogtreecommitdiffstats
path: root/src/rfs_dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-08-09 11:17:46 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-08-09 11:17:46 +0200
commit033533241463b9f5ac97043ed3b34ab965d8dc0e (patch)
tree32ed44d3ee70990b862b559de3ecd002c6303bf1 /src/rfs_dir.c
parente14f95d1d37ca246017126089f2beddef0d767dd (diff)
Rename filestat to stat in struct dir_data
Diffstat (limited to 'src/rfs_dir.c')
-rw-r--r--src/rfs_dir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rfs_dir.c b/src/rfs_dir.c
index ede69ee..6951b82 100644
--- a/src/rfs_dir.c
+++ b/src/rfs_dir.c
@@ -441,8 +441,8 @@ static file_data_t *reiser_dir(disk_t *disk_car, const partition_t *partition, d
new_file->status=0;
new_file->prev=ls->current_file;
new_file->next=NULL;
- new_file->filestat.st_size=entity->stat.st_size;
- memcpy(&new_file->filestat,&entity->stat,sizeof(new_file->filestat));
+ new_file->stat.st_size=entity->stat.st_size;
+ memcpy(&new_file->stat,&entity->stat,sizeof(new_file->stat));
reiserfs_object_free(entity);
if(ls->current_file)
ls->current_file->next=new_file;