Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MFC r256847:

Print more useful information about the transfer that trigger the assertion.

Approved by:	re (glebius)
  • Loading branch information...
commit aaa21934ba597834865408b1a7cb5974c59a7454 1 parent 22acce6
@kostikbel kostikbel authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  sys/kern/uipc_syscalls.c
View
3  sys/kern/uipc_syscalls.c
@@ -2070,7 +2070,8 @@ sendfile_readpage(vm_object_t obj, struct vnode *vp, int nd,
}
KASSERT(error != 0 || (m->wire_count > 0 &&
vm_page_is_valid(m, off & PAGE_MASK, xfsize)),
- ("wrong page state m %p", m));
+ ("wrong page state m %p off %#jx xfsize %d", m, (uintmax_t)off,
+ xfsize));
VM_OBJECT_WUNLOCK(obj);
return (error);
}
Please sign in to comment.
Something went wrong with that request. Please try again.