Corrects log print to produce hexadecimal base output
authorChristopher Snowhill <kode54@gmail.com>
Sat, 6 May 2023 04:45:45 +0000 (21:45 -0700)
committerMarge Bot <emma+marge@anholt.net>
Sun, 7 May 2023 21:33:18 +0000 (21:33 +0000)
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 <kode54@gmail.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22882>

src/intel/vulkan/anv_device.c

index 653714d..6349148 100644 (file)
@@ -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;
    }