From a6d4139e59bf0aab66f09b321d1690d28c50a67f Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Fri, 5 May 2023 21:45:45 -0700 Subject: [PATCH] Corrects log print to produce hexadecimal base output Matching the original %016lx, and the "0x" prefix which is still in the format string. Fixes: 53b77a8102cd ("anv: remove 48bit address space checks") Signed-off-by: Christopher Snowhill Reviewed-by: Lionel Landwerlin Part-of: --- src/intel/vulkan/anv_device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 653714da118..634914880e5 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1314,7 +1314,7 @@ anv_physical_device_try_create(struct vk_instance *vk_instance, if (device->gtt_size < (4ULL << 30 /* GiB */)) { vk_errorf(instance, VK_ERROR_INCOMPATIBLE_DRIVER, - "GTT size too small: 0x%016"PRIu64, device->gtt_size); + "GTT size too small: 0x%016"PRIx64, device->gtt_size); goto fail_base; }