mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-08-04 01:36:10 -04:00
Cleanup
This commit is contained in:
parent
98fde2170c
commit
ec30ec6f6f
@ -226,7 +226,7 @@ size_t physical_allocator::allocate(size_t blocks){
|
|||||||
auto phys = allocator.allocate(blocks);
|
auto phys = allocator.allocate(blocks);
|
||||||
|
|
||||||
if(!phys){
|
if(!phys){
|
||||||
logging::logf(logging::log_level::ERROR, "palloc: Unable to allocate %u blocks\n", size_t(blocks));
|
logging::logf(logging::log_level::ERROR, "palloc: Unable to allocate %u blocks\n", blocks);
|
||||||
}
|
}
|
||||||
|
|
||||||
return phys;
|
return phys;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user