Kernel: Remove redundant (K)String::characters() calls

This commit is contained in:
Daniel Bertalan 2021-12-30 13:43:56 +01:00 committed by Andreas Kling
parent 1d2f78682b
commit 2175c689ef
Notes: sideshowbarker 2024-07-17 21:57:18 +09:00
3 changed files with 3 additions and 3 deletions

View file

@ -286,7 +286,7 @@ ErrorOr<void> Process::procfs_get_tty_link(KBufferBuilder& builder) const
{
if (m_tty.is_null())
return Error::from_errno(ENOENT);
return builder.append(m_tty->tty_name().characters());
return builder.append(m_tty->tty_name().view());
}
}