summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Libraries/LibCoredump/Reader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCoredump/Reader.cpp b/Userland/Libraries/LibCoredump/Reader.cpp
index 907ccc8257..672da0c29d 100644
--- a/Userland/Libraries/LibCoredump/Reader.cpp
+++ b/Userland/Libraries/LibCoredump/Reader.cpp
@@ -273,7 +273,7 @@ const Reader::LibraryData* Reader::library_containing(FlatPtr address) const
auto name = region->object_name();
String path;
- if (name.contains(".so"))
+ if (name.ends_with(".so"))
path = String::formatted("/usr/lib/{}", name);
else {
path = name;