From 40bee06734f8cb35e884bef36fae10f29974d65f Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Tue, 19 Sep 2023 15:23:29 -0600 Subject: [PATCH] Fix warning message refering to layers instead of ICDs The warning message about the binary having the wrong bitness for ICD's was wrongly stating it was about layers having the wrong bitness. --- loader/loader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/loader.c b/loader/loader.c index dad503ba6..0d25d90c1 100644 --- a/loader/loader.c +++ b/loader/loader.c @@ -3654,7 +3654,7 @@ VkResult loader_icd_scan(const struct loader_instance *inst, struct loader_icd_t icd_details[i].full_library_path); break; case LOADER_LAYER_LIB_ERROR_WRONG_BIT_TYPE: { - loader_log(inst, VULKAN_LOADER_DRIVER_BIT, 0, "Requested layer %s was wrong bit-type. Ignoring this JSON", + loader_log(inst, VULKAN_LOADER_DRIVER_BIT, 0, "Requested ICD %s was wrong bit-type. Ignoring this JSON", icd_details[i].full_library_path); break; }