diff options
author | alc <alc@FreeBSD.org> | 2017-07-22 05:58:10 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2017-07-22 05:58:10 +0000 |
commit | f14b68ffe593a762a04f1aa430771a5229a8398c (patch) | |
tree | ef0496bae342a8fc8da95dce33887f54f6f69c5c /sys/modules/lmc | |
parent | 8a273c31651b9d74a5fe09f3c6ba50f3b1a71522 (diff) | |
download | FreeBSD-src-f14b68ffe593a762a04f1aa430771a5229a8398c.zip FreeBSD-src-f14b68ffe593a762a04f1aa430771a5229a8398c.tar.gz |
MFC r315621
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.
Diffstat (limited to 'sys/modules/lmc')
0 files changed, 0 insertions, 0 deletions