summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1996-07-29 14:22:46 +0000
committerdyson <dyson@FreeBSD.org>1996-07-29 14:22:46 +0000
commitd5ddac354d5ebdc833747b15c6fca0375e4993ac (patch)
tree5e7a36e0a9d7a065474beca72c4c1fa39d39859a
parentf837393b7096026c984e60d5f6ab66a671a621cf (diff)
downloadFreeBSD-src-d5ddac354d5ebdc833747b15c6fca0375e4993ac.zip
FreeBSD-src-d5ddac354d5ebdc833747b15c6fca0375e4993ac.tar.gz
Fix a problem with a DEBUG section of code.
-rw-r--r--sys/amd64/amd64/pmap.c2
-rw-r--r--sys/i386/i386/pmap.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c
index 8aa22d0..97be59c 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 8aa22d0..97be59c 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);
OpenPOWER on IntegriCloud