lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <20080721050755.GD3370@webber.adilger.int>
Date:	Sun, 20 Jul 2008 23:07:55 -0600
From:	Andreas Dilger <adilger@....com>
To:	"Aneesh Kumar K.V" <aneesh.kumar@...ux.vnet.ibm.com>
Cc:	tytso@....edu, linux-ext4@...r.kernel.org
Subject: Re: [PATCH] e2fsprogs: Fix tst_extents output on bigendian machine.

On Jul 18, 2008  17:35 +0530, Aneesh Kumar wrote:
>  static void dbg_show_header(struct ext3_extent_header *eh)
>  {
>  	printf("header: magic=%x entries=%u max=%u depth=%u generation=%u\n",
> -	       eh->eh_magic, eh->eh_entries, eh->eh_max, eh->eh_depth,
> -	       eh->eh_generation);
> +			ext2fs_le16_to_cpu(eh->eh_magic),
> +			ext2fs_le16_to_cpu(eh->eh_entries),
> +			ext2fs_le16_to_cpu(eh->eh_max),
> +			ext2fs_le16_to_cpu(eh->eh_depth),
> +			ext2fs_le32_to_cpu(eh->eh_generation));

Please fix indenting to align this with the '(' on the preceeding line.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ