Use IDX_TO_OFF(), not ptoa(), when converting the difference between two
vm_pindex_t's into a vm_ooffset_t.
The length given to shm_dotruncate() must never be negative. Assert this.
Tidy up a comment.
Reviewed by: kib
MFC after: 1 week
Use IDX_TO_OFF(), not ptoa(), when converting the difference between two Tags None Referenced Files None Subscribers None
Description
Details
|