mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:58:13 +00:00
Kernel: Convert a bunch of String::format() => String::formatted()
This commit is contained in:
parent
0ae9ae48fa
commit
7c4ddecacb
14 changed files with 22 additions and 33 deletions
|
@ -90,7 +90,7 @@ KResultOr<size_t> InodeWatcher::write(FileDescription&, size_t, const UserOrKern
|
|||
String InodeWatcher::absolute_path(const FileDescription&) const
|
||||
{
|
||||
if (auto inode = m_inode.strong_ref())
|
||||
return String::format("InodeWatcher:%s", inode->identifier().to_string().characters());
|
||||
return String::formatted("InodeWatcher:{}", inode->identifier().to_string());
|
||||
return "InodeWatcher:(gone)";
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue