Kernel: Make File::absolute_path() const.

This commit is contained in:
Andreas Kling 2019-06-01 18:56:56 +02:00
commit 2dd9ef6863
Notes: sideshowbarker 2024-07-19 13:48:09 +09:00
16 changed files with 16 additions and 16 deletions

View file

@ -14,7 +14,7 @@ Device::~Device()
VFS::the().unregister_device({}, *this);
}
String Device::absolute_path(FileDescriptor&) const
String Device::absolute_path(const FileDescriptor&) const
{
return String::format("device:%u,%u (%s)", m_major, m_minor, class_name());
}