diff options
Diffstat (limited to 'Kernel/Storage/RamdiskController.cpp')
-rw-r--r-- | Kernel/Storage/RamdiskController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Storage/RamdiskController.cpp b/Kernel/Storage/RamdiskController.cpp index ff3de9c09e..2c0e04c035 100644 --- a/Kernel/Storage/RamdiskController.cpp +++ b/Kernel/Storage/RamdiskController.cpp @@ -13,7 +13,7 @@ namespace Kernel { NonnullRefPtr<RamdiskController> RamdiskController::initialize() { - return adopt(*new RamdiskController()); + return adopt_ref(*new RamdiskController()); } bool RamdiskController::reset() |