Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/uvm/pmap Improve a panic message ever so slightly



details:   https://anonhg.NetBSD.org/src/rev/8e3b0577bbcb
branches:  trunk
changeset: 942748:8e3b0577bbcb
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Aug 18 07:25:46 2020 +0000

description:
Improve a panic message ever so slightly

diffstat:

 sys/uvm/pmap/pmap_segtab.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 9aa742a423bd -r 8e3b0577bbcb sys/uvm/pmap/pmap_segtab.c
--- a/sys/uvm/pmap/pmap_segtab.c        Tue Aug 18 07:13:59 2020 +0000
+++ b/sys/uvm/pmap/pmap_segtab.c        Tue Aug 18 07:25:46 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_segtab.c,v 1.16 2020/08/17 08:56:27 mrg Exp $     */
+/*     $NetBSD: pmap_segtab.c,v 1.17 2020/08/18 07:25:46 skrll Exp $   */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(0, "$NetBSD: pmap_segtab.c,v 1.16 2020/08/17 08:56:27 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_segtab.c,v 1.17 2020/08/18 07:25:46 skrll Exp $");
 
 /*
  *     Manages physical address maps.
@@ -245,7 +245,7 @@
 #ifdef DEBUG
                for (size_t j = 0; j < NPTEPG; j++) {
                        if (!pte_zero_p(pte[j]))
-                               panic("%s: pte entry %p not 0 (%#"PRIxPTE")",
+                               panic("%s: pte entry at %p not 0 (%#"PRIxPTE")",
                                    __func__, &pte[j], pte_value(pte[j]));
                }
 #endif



Home | Main Index | Thread Index | Old Index