From 0fb62542b728832c4264b2a9e85ef696fa57164d Mon Sep 17 00:00:00 2001 From: Christophe Grenier Date: Wed, 17 Sep 2014 07:53:27 +0200 Subject: [PATCH] Add the filename in the error message when ntfs_inode_open() failed --- src/ntfs_dir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ntfs_dir.c b/src/ntfs_dir.c index b51c63d0..4feec1e6 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; } {