Fix building sysctl(8) after c78ad20
In sysctl we parse an efi header on amd64. Fix this after changing the
virtual memory type from a void * to a uint64_t in c78ad20
.
This commit is contained in:
parent
c78ad207ba
commit
f1957db43d
@ -794,8 +794,8 @@ S_efi_map(size_t l2, void *p)
|
|||||||
type = types[map->md_type];
|
type = types[map->md_type];
|
||||||
if (type == NULL)
|
if (type == NULL)
|
||||||
type = "<INVALID>";
|
type = "<INVALID>";
|
||||||
printf("\n%23s %012jx %12p %08jx ", type,
|
printf("\n%23s %012jx %012jx %08jx ", type,
|
||||||
(uintmax_t)map->md_phys, map->md_virt,
|
(uintmax_t)map->md_phys, (uintmax_t)map->md_virt,
|
||||||
(uintmax_t)map->md_pages);
|
(uintmax_t)map->md_pages);
|
||||||
if (map->md_attr & EFI_MD_ATTR_UC)
|
if (map->md_attr & EFI_MD_ATTR_UC)
|
||||||
printf("UC ");
|
printf("UC ");
|
||||||
|
Loading…
Reference in New Issue
Block a user