summaryrefslogtreecommitdiffstats
path: root/src/fat_dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-12-06 13:51:44 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2014-12-06 13:51:44 +0100
commitb06692ccf818770ece2e378ed1336bbb1fd29b2a (patch)
tree4886133c622b7ec951ac2d65f36d15a69b066aee /src/fat_dir.c
parent117c387da82ef9c96fc630bb98a37237260ab295 (diff)
FAT: allow listing of deleted directory
Diffstat (limited to 'src/fat_dir.c')
-rw-r--r--src/fat_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fat_dir.c b/src/fat_dir.c
index 99842d2..cc14374 100644
--- a/src/fat_dir.c
+++ b/src/fat_dir.c
@@ -342,7 +342,7 @@ static int fat_dir(disk_t *disk_car, const partition_t *partition, dir_data_t *d
}
if(get_next_cluster(disk_car, partition, partition->upart_type, le16(fat_header->reserved), cluster)==0)
{
- return 0;
+ log_warning("FAT: Directory entry is marked as free.\n");
}
{
const unsigned int cluster_size=fat_header->sectors_per_cluster * fat_sector_size(fat_header);