summaryrefslogtreecommitdiffhomepage
path: root/dev/DebuggerKit/POSIXMachContract.h
diff options
context:
space:
mode:
Diffstat (limited to 'dev/DebuggerKit/POSIXMachContract.h')
-rw-r--r--dev/DebuggerKit/POSIXMachContract.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/DebuggerKit/POSIXMachContract.h b/dev/DebuggerKit/POSIXMachContract.h
index b04a13a..931852a 100644
--- a/dev/DebuggerKit/POSIXMachContract.h
+++ b/dev/DebuggerKit/POSIXMachContract.h
@@ -93,7 +93,7 @@ class POSIXMachContract : public DebuggerContract {
BOOL BreakAt(std::string symbol) noexcept override {
if (!m_path.empty() && std::filesystem::exists(m_path) &&
std::filesystem::is_regular_file(m_path)) {
- auto handle = dlopen(m_path.c_str(), RTDK_LAZY);
+ auto handle = dlopen(m_path.c_str(), RTLD_LAZY);
if (handle == nullptr) {
return false;