mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:08:13 +00:00
Kernel: Handle string format errors in FileSystem APIs :^)
This commit is contained in:
parent
e626d7098d
commit
fa517b213a
2 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ ErrorOr<size_t> FIFO::write(OpenFileDescription& fd, u64, const UserOrKernelBuff
|
|||
|
||||
ErrorOr<NonnullOwnPtr<KString>> FIFO::pseudo_path(const OpenFileDescription&) const
|
||||
{
|
||||
return KString::try_create(String::formatted("fifo:{}", m_fifo_id));
|
||||
return KString::formatted("fifo:{}", m_fifo_id);
|
||||
}
|
||||
|
||||
ErrorOr<void> FIFO::stat(::stat& st) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue