diff options
Diffstat (limited to 'Kernel/Storage/IDEController.cpp')
-rw-r--r-- | Kernel/Storage/IDEController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Storage/IDEController.cpp b/Kernel/Storage/IDEController.cpp index 6111607dd7..274efc4b88 100644 --- a/Kernel/Storage/IDEController.cpp +++ b/Kernel/Storage/IDEController.cpp @@ -16,7 +16,7 @@ namespace Kernel { UNMAP_AFTER_INIT NonnullRefPtr<IDEController> IDEController::initialize(PCI::Address address, bool force_pio) { - return adopt(*new IDEController(address, force_pio)); + return adopt_ref(*new IDEController(address, force_pio)); } bool IDEController::reset() |