diff options
Diffstat (limited to 'Kernel/Devices/Device.cpp')
-rw-r--r-- | Kernel/Devices/Device.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Devices/Device.cpp b/Kernel/Devices/Device.cpp index ba7f28dadd..fb636d376f 100644 --- a/Kernel/Devices/Device.cpp +++ b/Kernel/Devices/Device.cpp @@ -6,12 +6,12 @@ Device::Device(unsigned major, unsigned minor) : m_major(major) , m_minor(minor) { - VFS::the().register_device(*this); + VFS::the().register_device({}, *this); } Device::~Device() { - VFS::the().unregister_device(*this); + VFS::the().unregister_device({}, *this); } String Device::absolute_path(FileDescriptor&) const |