Index: sbin/gpt/header.c
===================================================================
RCS file: /cvsroot/src/sbin/gpt/header.c,v
retrieving revision 1.9
diff -p -u -r1.9 header.c
--- sbin/gpt/header.c   1 May 2018 08:17:13 -0000       1.9
+++ sbin/gpt/header.c   14 Mar 2019 10:14:17 -0000
@@ -90,11 +90,11 @@ header(gpt_t gpt)
       revision = le32toh(hdr->hdr_revision);
       printf("- GPT Header Revision: %u.%u\n", revision >> 16,
            revision & 0xffff);
-       gpt_show_num("- First Data Sector", hdr->hdr_lba_start);
-       gpt_show_num("- Last Data Sector", hdr->hdr_lba_end);
+       gpt_show_num("- First Data Sector", le64toh(hdr->hdr_lba_start));
+       gpt_show_num("- Last Data Sector", le64toh(hdr->hdr_lba_end));
       gpt_uuid_snprintf(buf, sizeof(buf), "%d", hdr->hdr_guid);
       printf("- Media GUID: %s\n", buf);
-       printf("- Number of GPT Entries: %u\n", hdr->hdr_entries);
+       printf("- Number of GPT Entries: %u\n", le32toh(hdr->hdr_entries));
       return 0;
}