Perhaps fix printf format for KASSERTMSG (unbreak i386 build maybe).
This can be revisited by anyone who wants to do things better...
This commit is contained in:
parent
27568595fc
commit
48097a21f3
|
@ -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 @@ ubc_fault(struct uvm_faultinfo *ufi, vaddr_t ign1, struct vm_page **ign2,
|
|||
|
||||
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",
|
||||
|
|
Loading…
Reference in New Issue