diff options
author | Karel Zak | 2014-03-12 15:09:02 +0100 |
---|---|---|
committer | Karel Zak | 2014-03-12 15:09:02 +0100 |
commit | 88e3d03eb835250e8cfbc46a4dc99f2d90fd9c49 (patch) | |
tree | 56389a06ab54420c4b8e16c051cf8065669721ca /libblkid | |
parent | libfdisk: update GPT partition types (diff) | |
download | kernel-qcow2-util-linux-88e3d03eb835250e8cfbc46a4dc99f2d90fd9c49.tar.gz kernel-qcow2-util-linux-88e3d03eb835250e8cfbc46a4dc99f2d90fd9c49.tar.xz kernel-qcow2-util-linux-88e3d03eb835250e8cfbc46a4dc99f2d90fd9c49.zip |
libblkid: convert GPT attributes to host endianess
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libblkid')
-rw-r--r-- | libblkid/src/partitions/gpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libblkid/src/partitions/gpt.c b/libblkid/src/partitions/gpt.c index 14a255af6..65a0f4376 100644 --- a/libblkid/src/partitions/gpt.c +++ b/libblkid/src/partitions/gpt.c @@ -386,7 +386,7 @@ static int probe_gpt_pt(blkid_probe pr, swap_efi_guid(&guid); blkid_partition_set_type_uuid(par, (const unsigned char *) &guid); - blkid_partition_set_flags(par, e->attributes); + blkid_partition_set_flags(par, le64_to_cpu(e->attributes)); } return 0; |