From 1b1a135bbde73135a80b4a41056a588830e86e83 Mon Sep 17 00:00:00 2001 From: yura Date: Mon, 30 Oct 2006 23:23:40 +0000 Subject: [PATCH] one more endian bug in ntfsinfo --- ChangeLog | 2 +- ntfsprogs/ntfsinfo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 42d45149..ff4743e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -192,7 +192,7 @@ xx/xx/2006 - x.xx.x - . - New APIs (dir.[ch]): ntfs_create_device() for Interix block and character devices creation. - ntfs_crate_symlink() for Interix symbolic links creation. (Yura) + ntfs_create_symlink() for Interix symbolic links creation. (Yura) - Teach ntfs_create() to create Interix FIFOs and sockets. (Yura) - Fix the -u option in ntfsundelete. Instead of a confusing optional parameter, there's a new option -i with a required parameter. (Rich) diff --git a/ntfsprogs/ntfsinfo.c b/ntfsprogs/ntfsinfo.c index 5e356694..8a0b46a9 100644 --- a/ntfsprogs/ntfsinfo.c +++ b/ntfsprogs/ntfsinfo.c @@ -904,7 +904,7 @@ static void ntfs_dump_acl(const char *prefix, ACL *acl) /* proceed to next ACE */ ace = (ACCESS_ALLOWED_ACE *)(((char *)ace) + - le32_to_cpu(ace->size)); + le16_to_cpu(ace->size)); } }