diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-31 17:31:23 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-31 17:31:23 +0100 |
commit | ffab6897aa1bc668f98130b4bb485a4602509938 (patch) | |
tree | a4d1933fc390ea0803bb3826353262fbf06b885f /Kernel/DevPtsFS.cpp | |
parent | 27fa09aee492e6c8da9168d24f0b1d2c5d2162d5 (diff) | |
download | serenity-ffab6897aa1bc668f98130b4bb485a4602509938.zip |
Big, possibly complete sweep of naming changes.
Diffstat (limited to 'Kernel/DevPtsFS.cpp')
-rw-r--r-- | Kernel/DevPtsFS.cpp | 6 |
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; } |