Fix warning message refering to layers instead of ICDs
authorCharles Giessen <charles@lunarg.com>
Tue, 19 Sep 2023 21:23:29 +0000 (15:23 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Thu, 21 Sep 2023 18:33:18 +0000 (12:33 -0600)
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

index dad503b..0d25d90 100644 (file)
@@ -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;
                 }