From 5ae384fc33926bcd309cfa5ac5916a92e9eccf2c Mon Sep 17 00:00:00 2001 From: Rodrigo Tobar Date: Sun, 26 Sep 2021 00:55:53 +0800 Subject: LibELF: Indicate value of unimplemented dtag For flags that are not mapped to a string this message prints DT_??, which isn't really useful. --- Userland/Libraries/LibELF/DynamicObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries') diff --git a/Userland/Libraries/LibELF/DynamicObject.cpp b/Userland/Libraries/LibELF/DynamicObject.cpp index 805927ca0f..ca30748ad4 100644 --- a/Userland/Libraries/LibELF/DynamicObject.cpp +++ b/Userland/Libraries/LibELF/DynamicObject.cpp @@ -166,7 +166,7 @@ void DynamicObject::parse() case DT_SYMBOLIC: break; default: - dbgln("DynamicObject: DYNAMIC tag handling not implemented for DT_{}", name_for_dtag(entry.tag())); + dbgln("DynamicObject: DYNAMIC tag handling not implemented for DT_{} ({})", name_for_dtag(entry.tag()), entry.tag()); VERIFY_NOT_REACHED(); // FIXME: Maybe just break out here and return false? break; } -- cgit v1.2.3