Browse Source

fix #10, introduced by [11]

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@59 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.1
Xuefer 15 years ago
parent
commit
a712913101
  1. 2
      mmap.c

2
mmap.c

@ -80,7 +80,7 @@ void *xc_shm_to_readwrite(xc_shm_t *shm, void *p) /* {{{ */
{
if (shm->diff) {
assert(xc_shm_is_readonly(p));
p = PTR_SUB(p, -shm->diff);
p = PTR_SUB(p, shm->diff);
}
assert(xc_shm_is_readwrite(p));
return p;

Loading…
Cancel
Save