Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm One more (should have noticed last time) and this ti...



details:   https://anonhg.NetBSD.org/src/rev/d3acc4f59915
branches:  trunk
changeset: 822433:d3acc4f59915
user:      kre <kre%NetBSD.org@localhost>
date:      Mon Mar 20 07:31:28 2017 +0000

description:
One more (should have noticed last time) and this time fix the
format the way it should have been fixed, not just what was easiest...

diffstat:

 sys/uvm/uvm_bio.c |  9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r ff75b0bcaef3 -r d3acc4f59915 sys/uvm/uvm_bio.c
--- a/sys/uvm/uvm_bio.c Mon Mar 20 04:35:04 2017 +0000
+++ b/sys/uvm/uvm_bio.c Mon Mar 20 07:31:28 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_bio.c,v 1.85 2017/03/20 04:35:04 kre Exp $ */
+/*     $NetBSD: uvm_bio.c,v 1.86 2017/03/20 07:31:28 kre Exp $ */
 
 /*
  * Copyright (c) 1998 Chuck Silvers.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.85 2017/03/20 04:35:04 kre Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.86 2017/03/20 07:31:28 kre Exp $");
 
 #include "opt_uvmhist.h"
 #include "opt_ubc.h"
@@ -348,10 +348,11 @@
 
        if ((access_type & VM_PROT_WRITE) != 0) {
                KASSERTMSG((trunc_page(umap->writeoff) <= slot_offset),
-                   "out of range write: slot=0x%lx off=0x%llx",
+                   "out of range write: slot=%#"PRIxVSIZE" off=%#"PRIxVADDR,
                    slot_offset, umap->writeoff);
                KASSERTMSG((slot_offset < umap->writeoff + umap->writelen),
-                   "out of range write: slot=0x%lx off=0x%lx len=0x%lx",
+                   "out of range write: slot=%#"PRIxVSIZE
+                   "off=%#"PRIxVADDR" len=%#"PRIxVSIZE,
                    slot_offset, umap->writeoff, umap->writelen);
        }
 



Home | Main Index | Thread Index | Old Index