summaryrefslogtreecommitdiffstats
path: root/src/ntfs_dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-04-29 20:37:45 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-04-29 20:37:45 +0200
commit2ee784cf7a57bb9569bec6c20150c15e7b3102ed (patch)
tree7179a9963384f813e5fba01ba7d7b519be368a9d /src/ntfs_dir.c
parentec3188c5af756da44ecdef5deef1429c1f2e701d (diff)
Deleted files can be shown or not when listing files.
Diffstat (limited to 'src/ntfs_dir.c')
-rw-r--r--src/ntfs_dir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ntfs_dir.c b/src/ntfs_dir.c
index 4524764..6733467 100644
--- a/src/ntfs_dir.c
+++ b/src/ntfs_dir.c
@@ -485,6 +485,7 @@ int dir_partition_ntfs_init(disk_t *disk_car, const partition_t *partition, dir_
strncpy(dir_data->current_directory,"/",sizeof(dir_data->current_directory));
dir_data->current_inode=FILE_root;
dir_data->verbose=verbose;
+ dir_data->capabilities=0;
dir_data->get_dir=ntfs_dir;
dir_data->copy_file=ntfs_copy;
dir_data->close=&dir_partition_ntfs_close;