mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 20:08:13 +00:00
Kernel: Make File::absolute_path() const.
This commit is contained in:
parent
00de8b9fc4
commit
2dd9ef6863
16 changed files with 16 additions and 16 deletions
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ public:
|
|||
unsigned major() const { return m_major; }
|
||||
unsigned minor() const { return m_minor; }
|
||||
|
||||
virtual String absolute_path(FileDescriptor&) const override;
|
||||
virtual String absolute_path(const FileDescriptor&) const override;
|
||||
|
||||
uid_t uid() const { return m_uid; }
|
||||
uid_t gid() const { return m_gid; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue