mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-17 06:38:28 +00:00
committed by
Christian Helmuth
parent
15141f3ca7
commit
807be83b1b
@ -86,7 +86,7 @@ class Pci_driver : public Bsd::Bus_driver
|
||||
}
|
||||
|
||||
void *ptr = nullptr;
|
||||
bool err = Allocator_avl::alloc_aligned(size, &ptr, align).is_error();
|
||||
bool err = Allocator_avl::alloc_aligned(size, &ptr, align).error();
|
||||
|
||||
return err ? 0 : (addr_t)ptr;
|
||||
}
|
||||
|
Reference in New Issue
Block a user