Endians fix in ntfs_attrlist_entry_add.

(Logical change 1.633)
edge.strict_endians
(none)!yura 2004-11-12 17:10:56 +00:00
parent 2a2aecdb2a
commit 339c87da38
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ int ntfs_attrlist_entry_add(ntfs_inode *ni, ATTR_RECORD *attr)
ale->lowest_vcn = 0;
ale->mft_reference = mref;
ale->instance = attr->instance;
memcpy(ale->name, (u8 *)attr + attr->name_offset,
memcpy(ale->name, (u8 *)attr + le16_to_cpu(attr->name_offset),
attr->name_length * sizeof(ntfschar));
/* Set new runlist. */