mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 18:14:24 +08:00
ntfsdump_logfile.c: Fix use of wrong byteswapping macro for le16 field.
This commit is contained in:
parent
0741f54b2e
commit
8daa92717e
@ -633,7 +633,7 @@ rcrd_pass_loc:
|
||||
ntfs_log_info("page count = %i\n", le16_to_cpu(rcrd->page_count));
|
||||
ntfs_log_info("page position = %i\n", le16_to_cpu(rcrd->page_position));
|
||||
ntfs_log_info("header.next_record_offset = 0x%llx\n", (unsigned long long)
|
||||
le64_to_cpu(rcrd->header.packed.next_record_offset));
|
||||
le16_to_cpu(rcrd->header.packed.next_record_offset));
|
||||
ntfs_log_info("header.last_end_lsn = 0x%llx\n", (unsigned long long)
|
||||
sle64_to_cpu(rcrd->header.packed.last_end_lsn));
|
||||
/*
|
||||
@ -648,7 +648,7 @@ rcrd_pass_loc:
|
||||
client++;
|
||||
lr = (LOG_RECORD*)((u8*)lr + 0x70);
|
||||
} while (((u8*)lr + 0x70 <= (u8*)rcrd +
|
||||
le64_to_cpu(rcrd->header.packed.next_record_offset)));
|
||||
le16_to_cpu(rcrd->header.packed.next_record_offset)));
|
||||
|
||||
pass++;
|
||||
goto rcrd_pass_loc;
|
||||
|
Loading…
Reference in New Issue
Block a user