summaryrefslogtreecommitdiff
path: root/Kernel/Devices/FileBackedDiskDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/FileBackedDiskDevice.cpp')
-rw-r--r--Kernel/Devices/FileBackedDiskDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/FileBackedDiskDevice.cpp b/Kernel/Devices/FileBackedDiskDevice.cpp
index b56aaff6d6..8b05e6e697 100644
--- a/Kernel/Devices/FileBackedDiskDevice.cpp
+++ b/Kernel/Devices/FileBackedDiskDevice.cpp
@@ -7,7 +7,7 @@
//#define FBBD_DEBUG
#define IGNORE_FILE_LENGTH // Useful for e.g /dev/hda2
-RetainPtr<FileBackedDiskDevice> FileBackedDiskDevice::create(String&& image_path, unsigned block_size)
+RefPtr<FileBackedDiskDevice> FileBackedDiskDevice::create(String&& image_path, unsigned block_size)
{
return adopt(*new FileBackedDiskDevice(move(image_path), block_size));
}