Mesa (master): anv: fix format string in error message
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Sep 3 23:14:33 UTC 2019
Module: Mesa
Branch: master
Commit: 7abf65aedc679069b794fddfa6feafa68d36d06a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7abf65aedc679069b794fddfa6feafa68d36d06a
Author: Eric Engestrom <eric.engestrom at intel.com>
Date: Mon Aug 26 15:32:36 2019 +0100
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 at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
---
src/intel/vulkan/anv_intel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
More information about the mesa-commit
mailing list