summaryrefslogtreecommitdiffstats
path: root/src/ntfs_dir.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2014-09-17 07:53:27 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2014-09-17 07:53:27 +0200
commit0fb62542b728832c4264b2a9e85ef696fa57164d (patch)
tree9f51475b2215ece41fb0c487a8009622dccee407 /src/ntfs_dir.c
parenta1e0a3505ed963dc5cfe18a791591ca27f1d7b07 (diff)
Add the filename in the error message when ntfs_inode_open() failed
Diffstat (limited to 'src/ntfs_dir.c')
-rw-r--r--src/ntfs_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ntfs_dir.c b/src/ntfs_dir.c
index b51c63d..4feec1e 100644
--- a/src/ntfs_dir.c
+++ b/src/ntfs_dir.c
@@ -338,7 +338,7 @@ static int ntfs_copy(disk_t *disk_car, const partition_t *partition, dir_data_t
stream_name=strrchr(dir_data->current_directory, ':');
inode = ntfs_inode_open (ls->vol, first_inode);
if (!inode) {
- log_error("ntfs_copy: ntfs_inode_open failed\n");
+ log_error("ntfs_copy: ntfs_inode_open failed for %s\n", dir_data->current_directory);
return -1;
}
{