summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-02-09 20:37:42 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-02-09 20:37:42 +0000
commit61098b28f0535d89e86c106c89787772c9293f37 (patch)
treef8beeaee17177573c17cb9ab50ede03e0eb20657 /sys/arch
parent4b82b445f0ec9d6ae4671e8b01001d0be5c15d84 (diff)
Blame the right function when panic'ing.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/i386/i386/pmapae.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/i386/pmapae.c b/sys/arch/i386/i386/pmapae.c
index 317295656a2..f8b792437fb 100644
--- a/sys/arch/i386/i386/pmapae.c
+++ b/sys/arch/i386/i386/pmapae.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmapae.c,v 1.21 2010/04/22 19:02:44 oga Exp $ */
+/* $OpenBSD: pmapae.c,v 1.22 2013/02/09 20:37:41 miod Exp $ */
/*
* Copyright (c) 2006 Michael Shalayeff
@@ -1030,7 +1030,7 @@ pmap_pinit_pd_pae(struct pmap *pmap)
/* allocate PDP */
pmap->pm_pdir = uvm_km_alloc(kernel_map, 4 * NBPG);
if (pmap->pm_pdir == NULL)
- panic("pmap_pinit: kernel_map out of virtual space!");
+ panic("pmap_pinit_pd_pae: kernel_map out of virtual space!");
/* page index is in the pmap! */
pmap_extract(pmap_kernel(), (vaddr_t)pmap, &pmap->pm_pdirpa);
/* fill out the PDPT entries */