mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00:00
Fix build.
This commit is contained in:
parent
da44817ee6
commit
88f7905789
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=241723
@ -507,8 +507,8 @@ netmap_mmap_single(struct cdev *cdev, vm_ooffset_t *foff,
|
|||||||
{
|
{
|
||||||
vm_object_t obj;
|
vm_object_t obj;
|
||||||
|
|
||||||
D("cdev %p foff %d size %d objp %p prot %d", cdev, *foff,
|
D("cdev %p foff %jd size %jd objp %p prot %d", cdev,
|
||||||
objsize, objp, prot);
|
(intmax_t )*foff, (intmax_t )objsize, objp, prot);
|
||||||
obj = vm_pager_allocate(OBJT_DEVICE, cdev, objsize, prot, *foff,
|
obj = vm_pager_allocate(OBJT_DEVICE, cdev, objsize, prot, *foff,
|
||||||
curthread->td_ucred);
|
curthread->td_ucred);
|
||||||
ND("returns obj %p", obj);
|
ND("returns obj %p", obj);
|
||||||
|
Loading…
Reference in New Issue
Block a user