summaryrefslogtreecommitdiffstats
path: root/src/ntfsp.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2015-04-05 11:17:08 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2015-04-05 11:17:08 +0200
commit79812fda52d51bf87814cb953b826de4af091db0 (patch)
tree9e288ff6f92c514ae8d11d76ef9cac01a865e997 /src/ntfsp.c
parentbc39fa01d4b6be184cefd15681d7e1d129d48c20 (diff)
Distinguish between file listing not implemented and missing library
Diffstat (limited to 'src/ntfsp.c')
-rw-r--r--src/ntfsp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ntfsp.c b/src/ntfsp.c
index 883b6d9..b2f5e19 100644
--- a/src/ntfsp.c
+++ b/src/ntfsp.c
@@ -62,10 +62,12 @@ unsigned int ntfs_remove_used_space(disk_t *disk_car,const partition_t *partitio
dir_data_t dir_data;
switch(dir_partition_ntfs_init(disk_car,partition,&dir_data,0))
{
+ case DIR_PART_ENOIMP:
case DIR_PART_ENOSYS:
+ return 0;
case DIR_PART_EIO:
- log_partition(disk_car,partition);
- log_error("Can't open filesystem. Filesystem seems damaged.\n");
+ log_partition(disk_car,partition);
+ log_error("Can't open filesystem. Filesystem seems damaged.\n");
return 0;
case DIR_PART_OK:
break;