From: Eric Engestrom Date: Mon, 26 Aug 2019 14:32:36 +0000 (+0100) Subject: anv: fix format string in error message X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7abf65aedc679069b794fddfa6feafa68d36d06a;p=mesa.git 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 Reviewed-by: Lionel Landwerlin --- 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;