diff options
-rw-r--r-- | sys/amd64/amd64/pmap.c | 2 | ||||
-rw-r--r-- | sys/i386/i386/pmap.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/pmap.c b/sys/amd64/amd64/pmap.c index 95e5bc2..f12cb0b 100644 --- a/sys/amd64/amd64/pmap.c +++ b/sys/amd64/amd64/pmap.c @@ -665,7 +665,7 @@ pmap_extract(pmap, va) vm_offset_t pdirindex; if (pmap == 0) - return; + return 0; pdirindex = va >> PDRSHIFT; rtval = pmap->pm_pdir[pdirindex]; if (rtval != 0) { diff --git a/sys/i386/i386/pmap.c b/sys/i386/i386/pmap.c index 95e5bc2..f12cb0b 100644 --- a/sys/i386/i386/pmap.c +++ b/sys/i386/i386/pmap.c @@ -665,7 +665,7 @@ pmap_extract(pmap, va) vm_offset_t pdirindex; if (pmap == 0) - return; + return 0; pdirindex = va >> PDRSHIFT; rtval = pmap->pm_pdir[pdirindex]; if (rtval != 0) { |