Commit 96cc9a92 authored by Lioncash's avatar Lioncash
Browse files

kernel/vm_manager: Correct behavior in failure case of UnmapPhysicalMemory()

If an unmapping operation fails, we shouldn't be decrementing the amount
of memory mapped and returning that the operation was successful. We
should actually be returning the error code in this case.
parent 56c6f767
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment