This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

MFC r256847:

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

Approved by:	re (glebius)
  • Loading branch information...
kostikbel committed Oct 29, 2013
1 parent 22acce6 commit aaa21934ba597834865408b1a7cb5974c59a7454
Showing with 2 additions and 1 deletion.
  1. +2 −1 sys/kern/uipc_syscalls.c
View
@@ -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);
}

0 comments on commit aaa2193

Please sign in to comment.