fixalloc: fix f.nchunk

This commit is contained in:
Hans 2021-07-28 12:13:02 +08:00
parent e3ee0531af
commit cb8b1b01bb
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ func (f *fixalloc) alloc() unsafe.Pointer {
}
if uintptr(f.nchunk) < f.size {
f.chunk = uintptr(persistentalloc(_FixAllocChunk, 0, f.stat))
f.nchunk = f._FixAllocChunk
f.nchunk = _FixAllocChunk
}
v := unsafe.Pointer(f.chunk)