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/b03478006511
branches:  trunk
changeset: 974960:b03478006511
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 186e47e0d0b5 -r b03478006511 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