forked from AbleOS/ableos
fixed typo
This commit is contained in:
parent
d3d52c974a
commit
7ac54e5ec8
|
@ -148,7 +148,7 @@ impl Heap {
|
|||
aligned_first_chunk + chunks_needed <= first_chunk + chunks_needed + chunk_alignment
|
||||
);
|
||||
|
||||
let header = add as *mut Header;
|
||||
let header = addr as *mut Header;
|
||||
unsafe {
|
||||
(*header).size_in_chunks = chunks_needed;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue