summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@intel.com>2019-08-26 15:32:36 +0100
committerDylan Baker <dylan@pnwbakers.com>2019-09-04 16:15:23 -0700
commitef0ccde381fc085c852661057dab0230767026bb (patch)
tree3daed63ecbc3b678527ddfaeff3269f36e3eaf82
parentba255cdd50a7d6ab33e40bbe3fe42b7602cdcebd (diff)
anv: fix format string in error message
Fixes: 9775894f102535a79186 ("anv: Move size check from anv_bo_cache_import() to caller (v2)") Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> (cherry picked from commit 7abf65aedc679069b794fddfa6feafa68d36d06a)
-rw-r--r--src/intel/vulkan/anv_intel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_intel.c b/src/intel/vulkan/anv_intel.c
index f40723dae35..146fc41d8a8 100644
--- a/src/intel/vulkan/anv_intel.c
+++ b/src/intel/vulkan/anv_intel.c
@@ -89,7 +89,7 @@ VkResult anv_CreateDmaBufImageINTEL(
result = vk_errorf(device->instance, device,
VK_ERROR_INVALID_EXTERNAL_HANDLE,
"dma-buf too small for image in "
- "vkCreateDmaBufImageINTEL: %"PRIu64"B < "PRIu64"B",
+ "vkCreateDmaBufImageINTEL: %"PRIu64"B < %"PRIu64"B",
mem->bo->size, aligned_image_size);
anv_bo_cache_release(device, &device->bo_cache, mem->bo);
goto fail_import;