anv: fix format string in error message
authorEric Engestrom <eric.engestrom@intel.com>
Mon, 26 Aug 2019 14:32:36 +0000 (15:32 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Tue, 3 Sep 2019 23:13:20 +0000 (00:13 +0100)
Fixes: 9775894f102535a79186 ("anv: Move size check from anv_bo_cache_import() to caller (v2)")
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/vulkan/anv_intel.c

index f40723dae35dc3968b4b4932bab67b9089535e80..146fc41d8a839398f98c4669a460a43393409028 100644 (file)
@@ -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;