Page MenuHomeFreeBSD

D10019.diff
No OneTemporary

D10019.diff

Index: head/sys/kern/kern_sendfile.c
===================================================================
--- head/sys/kern/kern_sendfile.c
+++ head/sys/kern/kern_sendfile.c
@@ -207,12 +207,12 @@
/*
* Helper function to get offset within object for i page.
*/
-static inline vm_offset_t
+static inline vm_ooffset_t
vmoff(int i, off_t off)
{
if (i == 0)
- return ((vm_offset_t)off);
+ return ((vm_ooffset_t)off);
return (trunc_page(off + i * PAGE_SIZE));
}

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 9, 12:37 AM (4 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15727858
Default Alt Text
D10019.diff (473 B)

Event Timeline