summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-08-26 15:32:36 +0100
committerEric Engestrom <[email protected]>2019-09-04 00:13:20 +0100
commit7abf65aedc679069b794fddfa6feafa68d36d06a (patch)
tree33ad209d39c9fa53a4a99e5d6eca9a87529430be /src
parent1667360f7d920a35191dc67b7ee120eef95e8788 (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 <[email protected]> Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src')
-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;