mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:27:44 +00:00
LibCoreDump: Convert String::format() => String::formatted()
This commit is contained in:
parent
f4a15c8d42
commit
7254d4c4b8
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ const Reader::LibraryData* Reader::library_containing(FlatPtr address) const
|
||||||
|
|
||||||
String path;
|
String path;
|
||||||
if (name.contains(".so"))
|
if (name.contains(".so"))
|
||||||
path = String::format("/usr/lib/%s", name.characters());
|
path = String::formatted("/usr/lib/{}", name);
|
||||||
else {
|
else {
|
||||||
path = name;
|
path = name;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue