Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Perhaps fix printf format for KASSERTMSG (unbreak i3...



details:   https://anonhg.NetBSD.org/src/rev/ff75b0bcaef3
branches:  trunk
changeset: 822432:ff75b0bcaef3
user:      kre <kre%NetBSD.org@localhost>
date:      Mon Mar 20 04:35:04 2017 +0000

description:
Perhaps fix printf format for KASSERTMSG (unbreak i386 build maybe).
This can be revisited by anyone who wants to do things better...

diffstat:

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

diffs (27 lines):

diff -r 835144633d3c -r ff75b0bcaef3 sys/uvm/uvm_bio.c
--- a/sys/uvm/uvm_bio.c Mon Mar 20 01:24:06 2017 +0000
+++ b/sys/uvm/uvm_bio.c Mon Mar 20 04:35:04 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_bio.c,v 1.84 2017/03/19 23:47:46 riastradh Exp $   */
+/*     $NetBSD: uvm_bio.c,v 1.85 2017/03/20 04:35:04 kre Exp $ */
 
 /*
  * Copyright (c) 1998 Chuck Silvers.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.84 2017/03/19 23:47:46 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.85 2017/03/20 04:35:04 kre Exp $");
 
 #include "opt_uvmhist.h"
 #include "opt_ubc.h"
@@ -348,7 +348,7 @@
 
        if ((access_type & VM_PROT_WRITE) != 0) {
                KASSERTMSG((trunc_page(umap->writeoff) <= slot_offset),
-                   "out of range write: slot=0x%lx off=0x%lx",
+                   "out of range write: slot=0x%lx off=0x%llx",
                    slot_offset, umap->writeoff);
                KASSERTMSG((slot_offset < umap->writeoff + umap->writelen),
                    "out of range write: slot=0x%lx off=0x%lx len=0x%lx",



Home | Main Index | Thread Index | Old Index