diff options
author | Lenny Komow <lenny@lunarg.com> | 2017-01-12 15:47:53 -0700 |
---|---|---|
committer | Lenny Komow <lenny@lunarg.com> | 2017-01-12 15:47:53 -0700 |
commit | e78918d387f66d59ddaf8282b1d364c6d9cd4c1b (patch) | |
tree | 7fac48f9b15d5ab0b9911d19341f76927b4c1130 /loader | |
parent | d4dc58b9ae008d6fad2eb24602b61a75b3186423 (diff) |
loader: Fix phys device error message
Change-Id: I37cfdb4b290dc8d5be7c606e32eb8d369ea43c6a
Diffstat (limited to 'loader')
-rw-r--r-- | loader/loader.c | 9 |
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; } |