diff options
author | Eric Engestrom <[email protected]> | 2019-08-26 15:32:36 +0100 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-09-04 16:15:23 -0700 |
commit | ef0ccde381fc085c852661057dab0230767026bb (patch) | |
tree | 3daed63ecbc3b678527ddfaeff3269f36e3eaf82 /src | |
parent | ba255cdd50a7d6ab33e40bbe3fe42b7602cdcebd (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]>
(cherry picked from commit 7abf65aedc679069b794fddfa6feafa68d36d06a)
Diffstat (limited to 'src')
-rw-r--r-- | src/intel/vulkan/anv_intel.c | 2 |
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; |