diff --git a/src/ntfs_dir.c b/src/ntfs_dir.c index 4a623b11..0d100593 100644 --- a/src/ntfs_dir.c +++ b/src/ntfs_dir.c @@ -316,7 +316,8 @@ static int ntfs_dir(disk_t *disk_car, const partition_t *partition, dir_data_t * if (inode->mrec->flags & MFT_RECORD_IS_DIRECTORY) { if(ntfs_readdir(inode, &pos, ls, (ntfs_filldir_t)ntfs_td_list_entry)<0) { - log_error("ntfs_readdir failed for cluster %lu\n", cluster); + log_error("ntfs_readdir failed for cluster %lu: %s\n", cluster, + strerror(errno)); } } else