diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 8aa22d045520..97be59c7af69 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -2535,7 +2535,7 @@ pmap_pvdump(pa) printf("pa %x", pa); for (pv = TAILQ_FIRST(pa_to_pvh(pa)); pv; - pv = TAILQ_NEXT(pv->pv_list)) { + pv = TAILQ_NEXT(pv, pv_list)) { #ifdef used_to_be printf(" -> pmap %x, va %x, flags %x", pv->pv_pmap, pv->pv_va, pv->pv_flags); diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 8aa22d045520..97be59c7af69 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -2535,7 +2535,7 @@ pmap_pvdump(pa) printf("pa %x", pa); for (pv = TAILQ_FIRST(pa_to_pvh(pa)); pv; - pv = TAILQ_NEXT(pv->pv_list)) { + pv = TAILQ_NEXT(pv, pv_list)) { #ifdef used_to_be printf(" -> pmap %x, va %x, flags %x", pv->pv_pmap, pv->pv_va, pv->pv_flags);