Mesa (staging/19.2): anv: fix format string in error message

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Sep 4 23:32:17 UTC 2019


Module: Mesa
Branch: staging/19.2
Commit: ef0ccde381fc085c852661057dab0230767026bb
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ef0ccde381fc085c852661057dab0230767026bb

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>
(cherry picked from commit 7abf65aedc679069b794fddfa6feafa68d36d06a)

---

 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