summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-12-29 16:59:18 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-12-29 16:59:18 +0100
commit58aaf6e7f80c13338b8bc1603d59a56300aa8ab3 (patch)
tree8901a44241cdc0c4d367dfd3add21dcf3e9cba70 /i386
parent8842f3da9078c260c035867806f8f3aeb02aa1d4 (diff)
Fix typo
Diffstat (limited to 'i386')
-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 */