summaryrefslogtreecommitdiffstats
path: root/tests/dlfcn_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dlfcn_test.cpp')
-rw-r--r--tests/dlfcn_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dlfcn_test.cpp b/tests/dlfcn_test.cpp
index 4ba19c1..5d6cc8b 100644
--- a/tests/dlfcn_test.cpp
+++ b/tests/dlfcn_test.cpp
@@ -149,7 +149,7 @@ TEST(dlfcn, dlopen_check_relocation_dt_needed_order) {
// in both dt_needed libraries, the correct relocation should
// use the function defined in libtest_relo_check_dt_needed_order_1.so
void* handle = nullptr;
- auto guard = create_scope_guard([&]() {
+ auto guard = make_scope_guard([&]() {
dlclose(handle);
});