From 49ffd3f1ecf0d6e034ae6d5ebdc147563b7124e8 Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Fri, 3 Apr 2015 14:53:08 -0600 Subject: [PATCH] loader: Fix prefix used to find layer library. --- loader/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/loader.c b/loader/loader.c index 1de7c84..bff896f 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -738,7 +738,7 @@ static bool find_layer_name(struct loader_icd *icd, uint32_t gpu_index, const ch char * lib_str = malloc(strlen(*lib_name) + 1 + strlen(layer_name)); //use default layer name snprintf(lib_str, strlen(*lib_name) + strlen(layer_name), - XGL_DRIVER_LIBRARY_PREFIX "%s" XGL_LIBRARY_SUFFIX, + XGL_LAYER_LIBRARY_PREFIX "%s" XGL_LIBRARY_SUFFIX, layer_name); loader_platform_close_library(handle); if (!strcmp(*lib_name, lib_str)) { -- 2.7.4