aboutsummaryrefslogtreecommitdiff
path: root/loader/loader.c
diff options
context:
space:
mode:
authorLenny Komow <lenny@lunarg.com>2017-01-12 15:47:53 -0700
committerLenny Komow <lenny@lunarg.com>2017-01-12 15:47:53 -0700
commitbc32a4bb04d13034c8134c931d536cedc4a9e03c (patch)
tree4b134111b3e22ddb4271f7277a1554d1dd7f6e3f /loader/loader.c
parent71a1e7e9a0afdfa207d8fe3d327be509c9821ae2 (diff)
downloadusermoji-bc32a4bb04d13034c8134c931d536cedc4a9e03c.tar.xz
loader: Fix phys device error message
Change-Id: I37cfdb4b290dc8d5be7c606e32eb8d369ea43c6a
Diffstat (limited to 'loader/loader.c')
-rw-r--r--loader/loader.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/loader/loader.c b/loader/loader.c
index 16bfcedb..c5e9dfc5 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -4685,10 +4685,11 @@ VkResult setupLoaderTrampPhysDevs(VkInstance instance) {
total_count * sizeof(struct loader_physical_device_tramp *),
VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE);
if (NULL == new_phys_devs) {
- loader_log(inst, VK_DEBUG_REPORT_ERROR_BIT_EXT, 0,
- "setupLoaderTrampPhysDevs: Failed to new physical device "
- "array of size %d",
- total_count);
+ loader_log(
+ inst, VK_DEBUG_REPORT_ERROR_BIT_EXT, 0,
+ "setupLoaderTrampPhysDevs: Failed to allocate new physical device "
+ "array of size %d",
+ total_count);
res = VK_ERROR_OUT_OF_HOST_MEMORY;
goto out;
}