]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libfdisk: (gpt) fix attributes endianess
authorRuediger Meier <ruediger.meier@ga-group.nl>
Fri, 8 May 2015 11:39:53 +0000 (13:39 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 11 May 2015 08:51:15 +0000 (10:51 +0200)
commit159652d9378ac418e25fc44f40bb4dc0cdc9ced3
tree233e9e1f2e62375cbc11fd2c6b66e2f0ed7a711c
parentb3f5d0bc2807a8d1cfbafd0fcc534845cd8fc661
libfdisk: (gpt) fix attributes endianess

The new libfdisk/gpt test (4a4a0927) discovered that we read and write
partition attributes wrongly on BE systems.

Our temporarily used char[8] bits are always LE and do not need to be
converted.

CC: Michael Marineau <michael.marineau@coreos.com>
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
libfdisk/src/gpt.c