summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2022-06-30 13:51:25 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2022-06-30 13:51:25 +0000
commit23facc128db37d76dff92ac7506a361f22662983 (patch)
treed2fcc9f4f3e5a291f0640b29ed2b78ebf7de3f30
parentf07a017e2a38ee05d91e932ba33a8456ff55e082 (diff)
amd64/pmap: Change the wording of a panic string
Change a panic string to make the text locatable in the code since there is another panic with the same text. Helps debugging when the line number information isn't available. no functional change. ok dv
-rw-r--r--sys/arch/amd64/amd64/pmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/amd64/pmap.c b/sys/arch/amd64/amd64/pmap.c
index 26e46770598..ad35db3a1ab 100644
--- a/sys/arch/amd64/amd64/pmap.c
+++ b/sys/arch/amd64/amd64/pmap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.c,v 1.152 2022/06/30 09:38:22 mlarkin Exp $ */
+/* $OpenBSD: pmap.c,v 1.153 2022/06/30 13:51:24 mlarkin Exp $ */
/* $NetBSD: pmap.c,v 1.3 2003/05/08 18:13:13 thorpej Exp $ */
/*
@@ -1787,8 +1787,8 @@ pmap_do_remove(struct pmap *pmap, vaddr_t sva, vaddr_t eva, int flags)
ptp = pmap_find_ptp(pmap, sva, ptppa, 1);
#ifdef DIAGNOSTIC
if (ptp == NULL)
- panic("%s: unmanaged PTP detected",
- __func__);
+ panic("%s: unmanaged PTP detected "
+ "in shortcut path", __func__);
#endif
}