summaryrefslogtreecommitdiff
path: root/Kernel/Devices/MemoryDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/MemoryDevice.cpp')
-rw-r--r--Kernel/Devices/MemoryDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/MemoryDevice.cpp b/Kernel/Devices/MemoryDevice.cpp
index 02e879dc87..6f9de0206e 100644
--- a/Kernel/Devices/MemoryDevice.cpp
+++ b/Kernel/Devices/MemoryDevice.cpp
@@ -14,7 +14,7 @@
namespace Kernel {
-UNMAP_AFTER_INIT NonnullRefPtr<MemoryDevice> MemoryDevice::must_create()
+UNMAP_AFTER_INIT NonnullLockRefPtr<MemoryDevice> MemoryDevice::must_create()
{
auto memory_device_or_error = DeviceManagement::try_create_device<MemoryDevice>();
// FIXME: Find a way to propagate errors