From 163635f08fcad8358a2ba4a58e749c1f0cee12cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Pierre=20Andr=C3=A9?= Date: Tue, 13 Feb 2018 08:47:00 +0100 Subject: [PATCH] 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. --- libntfs-3g/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libntfs-3g/inode.c b/libntfs-3g/inode.c index 4c364b9a..01430210 100644 --- a/libntfs-3g/inode.c +++ b/libntfs-3g/inode.c @@ -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);