diff options
author | 1999-12-06 08:50:26 +0000 | |
---|---|---|
committer | 1999-12-06 08:50:26 +0000 | |
commit | 5906c71ca3d2fee71fe663aeb35b9dafbfffae09 (patch) | |
tree | 267b8668160b8df21bdfc11c51b0d4c58d9fd7a4 | |
parent | Make this work for uvm. (diff) | |
download | wireguard-openbsd-5906c71ca3d2fee71fe663aeb35b9dafbfffae09.tar.xz wireguard-openbsd-5906c71ca3d2fee71fe663aeb35b9dafbfffae09.zip |
Put the "size check fired" behind ifdef DEBUG, it can happen in some
legitimate cases.
-rw-r--r-- | sys/uvm/uvm_vnode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/uvm/uvm_vnode.c b/sys/uvm/uvm_vnode.c index dbba98b4934..f52d37ae219 100644 --- a/sys/uvm/uvm_vnode.c +++ b/sys/uvm/uvm_vnode.c @@ -1634,7 +1634,7 @@ uvn_io(uvn, pps, npages, flags, rw) if (file_offset >= uvn->u_size) { simple_unlock(&uvn->u_obj.vmobjlock); UVMHIST_LOG(maphist,"<- BAD (size check)",0,0,0,0); -#ifdef DIAGNOSTIC +#ifdef DEBUG printf("uvn_io: note: size check fired\n"); #endif return(VM_PAGER_BAD); |