Fixed displaying an inode number in an error message

In an error message, the inode number was displayed in decimal without
taking off its generation number, making it difficult to interpret.
This commit is contained in:
Jean-Pierre André 2018-02-13 08:47:00 +01:00
parent b30460fede
commit 163635f08f

View File

@ -837,7 +837,7 @@ static int ntfs_inode_sync_file_name(ntfs_inode *ni, ntfs_inode *dir_ni)
if (!err)
err = errno;
ntfs_log_perror("Failed to open inode %lld with index",
(long long)le64_to_cpu(fn->parent_directory));
(long long)MREF_LE(fn->parent_directory));
continue;
}
ictx = ntfs_index_ctx_get(index_ni, NTFS_INDEX_I30, 4);