summaryrefslogtreecommitdiff
path: root/i386/intel
diff options
context:
space:
mode:
Diffstat (limited to 'i386/intel')
-rw-r--r--i386/intel/pmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c
index 9f34f2d..c448e57 100644
--- a/i386/intel/pmap.c
+++ b/i386/intel/pmap.c
@@ -1587,7 +1587,7 @@ void pmap_page_protect(phys, prot)
do {
#ifdef MACH_XEN
if (!hyp_mmu_update_pte(kv_to_ma(pte), *pte & ~INTEL_PTE_WRITE))
- panic("%s:%d could not enable write on pte %p\n",__FILE__,__LINE__,pte);
+ panic("%s:%d could not disable write on pte %p\n",__FILE__,__LINE__,pte);
#else /* MACH_XEN */
*pte &= ~INTEL_PTE_WRITE;
#endif /* MACH_XEN */