Module Name: src
Committed By: kre
Date: Mon Mar 20 07:31:28 UTC 2017
Modified Files:
src/sys/uvm: uvm_bio.c
Log Message:
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...
To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/uvm/uvm_bio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/uvm/uvm_bio.c
diff -u src/sys/uvm/uvm_bio.c:1.85 src/sys/uvm/uvm_bio.c:1.86
--- src/sys/uvm/uvm_bio.c:1.85 Mon Mar 20 04:35:04 2017
+++ src/sys/uvm/uvm_bio.c Mon Mar 20 07:31:28 2017
@@ -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 @@ ubc_fault(struct uvm_faultinfo *ufi, vad
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);
}