Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm/pmap fix hpcmips and evbppc builds (wrong type in pa...



details:   https://anonhg.NetBSD.org/src/rev/7beb375936ab
branches:  trunk
changeset: 1013105:7beb375936ab
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Aug 20 23:36:45 2020 +0000

description:
fix hpcmips and evbppc builds (wrong type in panic()).

diffstat:

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

diffs (27 lines):

diff -r 268cd4c20f06 -r 7beb375936ab sys/uvm/pmap/pmap_segtab.c
--- a/sys/uvm/pmap/pmap_segtab.c        Thu Aug 20 23:19:34 2020 +0000
+++ b/sys/uvm/pmap/pmap_segtab.c        Thu Aug 20 23:36:45 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap_segtab.c,v 1.19 2020/08/20 05:54:32 mrg Exp $     */
+/*     $NetBSD: pmap_segtab.c,v 1.20 2020/08/20 23:36:45 mrg 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.19 2020/08/20 05:54:32 mrg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_segtab.c,v 1.20 2020/08/20 23:36:45 mrg Exp $");
 
 /*
  *     Manages physical address maps.
@@ -184,7 +184,7 @@
                                            "pte[%zu] = %#"PRIxPTE,
                                            j, pte_value(pte[j]), 0, 0); 
 #endif
-                       panic("%s: pte[%ju] entry at %pu not 0 (%#"PRIxPTE")",
+                       panic("%s: pte[%zu] entry at %p not 0 (%#"PRIxPTE")",
                              caller, i, &pte[i], pte_value(pte[i]));
                }
 #endif



Home | Main Index | Thread Index | Old Index