summaryrefslogtreecommitdiff
path: root/Kernel/DevPtsFS.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-31 17:31:23 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-31 17:31:23 +0100
commitffab6897aa1bc668f98130b4bb485a4602509938 (patch)
treea4d1933fc390ea0803bb3826353262fbf06b885f /Kernel/DevPtsFS.cpp
parent27fa09aee492e6c8da9168d24f0b1d2c5d2162d5 (diff)
downloadserenity-ffab6897aa1bc668f98130b4bb485a4602509938.zip
Big, possibly complete sweep of naming changes.
Diffstat (limited to 'Kernel/DevPtsFS.cpp')
-rw-r--r--Kernel/DevPtsFS.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/DevPtsFS.cpp b/Kernel/DevPtsFS.cpp
index 4754b3673f..72738a8ed2 100644
--- a/Kernel/DevPtsFS.cpp
+++ b/Kernel/DevPtsFS.cpp
@@ -42,7 +42,7 @@ RetainPtr<SynthFSInode> DevPtsFS::create_slave_pty_device_file(unsigned index)
StringBuilder builder;
builder.appendf("%u", index);
- file->m_name = builder.build();
+ file->m_name = builder.to_string();
auto* device = VFS::the().get_device(11, index);
ASSERT(device);
@@ -51,8 +51,8 @@ RetainPtr<SynthFSInode> DevPtsFS::create_slave_pty_device_file(unsigned index)
file->m_metadata.uid = device->uid();
file->m_metadata.gid = device->gid();
file->m_metadata.mode = 0020644;
- file->m_metadata.majorDevice = device->major();
- file->m_metadata.minorDevice = device->minor();
+ file->m_metadata.major_device = device->major();
+ file->m_metadata.minor_device = device->minor();
file->m_metadata.mtime = mepoch;
return file;
}