summaryrefslogtreecommitdiff
path: root/tests/util
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-06-27 17:58:02 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2018-08-07 17:52:11 +0100
commit60a467c8ea918d5be37c11c38278d98d13061bfc (patch)
tree38d7dfad80dd7c3d751f546bb1d058e99024b094 /tests/util
parent10a1206cd361120894ae926dcf4c8de5a199a838 (diff)
dispatch: kill off RTLD_LOCAL
The symbol is already the default, thus there's no need to specify it. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'tests/util')
-rw-r--r--tests/util/piglit-dispatch-init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util/piglit-dispatch-init.c b/tests/util/piglit-dispatch-init.c
index 1aae2bee6..7ae512b76 100644
--- a/tests/util/piglit-dispatch-init.c
+++ b/tests/util/piglit-dispatch-init.c
@@ -172,7 +172,7 @@ do_dlsym(void **handle, const char *lib_name, const char *function_name)
void *result;
if (!*handle)
- *handle = dlopen(lib_name, RTLD_LAZY | RTLD_LOCAL);
+ *handle = dlopen(lib_name, RTLD_LAZY);
if (!*handle) {
fprintf(stderr, "Could not open %s: %s\n", lib_name, dlerror());