diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-07 20:45:01 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-07 21:12:09 +0200 |
commit | ea027834df32cb4ae8aabd59849c0c51847cd5b6 (patch) | |
tree | 09048209e7c11f4f99deae25513b8faab9c8a663 /Userland/Libraries/LibELF | |
parent | 79ff1902aaf61e3d63947ff9ff2d8455de3de749 (diff) | |
download | serenity-ea027834df32cb4ae8aabd59849c0c51847cd5b6.zip |
LibELF: Convert StringBuilder::appendf() => AK::Format
Diffstat (limited to 'Userland/Libraries/LibELF')
-rw-r--r-- | Userland/Libraries/LibELF/DynamicObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibELF/DynamicObject.cpp b/Userland/Libraries/LibELF/DynamicObject.cpp index 9b7ca32cbb..39dc9f435f 100644 --- a/Userland/Libraries/LibELF/DynamicObject.cpp +++ b/Userland/Libraries/LibELF/DynamicObject.cpp @@ -47,7 +47,7 @@ void DynamicObject::dump() const for_each_dynamic_entry([&](const DynamicObject::DynamicEntry& entry) { String name_field = String::formatted("({})", name_for_dtag(entry.tag())); - builder.appendf("0x%08X %-17s0x%X\n", entry.tag(), name_field.characters(), entry.val()); + builder.appendff("{:#08x} {:17} {:#08x}\n", entry.tag(), name_field, entry.val()); num_dynamic_sections++; return IterationDecision::Continue; }); |